Code Monkey home page Code Monkey logo

terrania's Introduction

Terrania

A geography quiz web app written in Angular 2.

Development

  • First, install Node.js.
  • Then install Angular CLI globally: npm install -g @angular/cli.
  • Navigate to the project folder and type npm install package.json to install the required dependencies.
  • Finally, type ng serve. The website is now live at localhost:4200 and ready for live coding.

Contributing

terrania's People

Contributors

abn-volk avatar angular-cli avatar

Watchers

 avatar  avatar  avatar  avatar

terrania's Issues

Triển khai dự án

Căn bản dự án trò chơi đố vui địa lí của mình có 3 phần chính:

  • Máy chủ cung cấp dữ liệu (câu hỏi) và lưu thông tin người chơi
  • Ứng dụng web làm bằng Angular 2Materialize
  • Ứng dụng Android (Để Tiến, Thành, Hoàng học Lập trình nhúng)

Dữ liệu tớ đã tổng hợp được rồi nhưng tớ đang tải 3ds Max nên đưa lên sau nhé. Nó là file CSV có tên, thủ đô, diện tích, dân số và một số thông tin khác. Cờ các nước có ở đây, nếu thiếu hoặc chưa cập nhật tớ sẽ lên Wikipedia bổ sung thêm.

Trò chơi có những chức năng chính sau:

  • Xem thông tin các nước. Rất đơn giản, chỉ có một danh sách thôi.
  • Đố vui theo kiểu chọn một trong bốn đáp án:
    • Tên các nước và cờ các nước (nhìn cờ đoán tên và ngược lại)
    • Tên và thủ đô các nước
    • Nước có diện tích hoặc dân số lớn nhất

Để lưu thông tin người chơi, có thể dùng Google Play Games Services cho tiện. Cái này cũng hỗ trợ bảng điểm và huy chương, nếu thích có thể làm thêm (ví dụ, huy chương cho người chơi trả lời đúng nhiều, đi hết các nước trên thế giới, chơi nhiều...). Cái này nếu làm thì cần tài khoản Dev của Google Play (Tiến đã có).

Tóm lại, cần làm một số việc:

  • Nghĩ xem bố trí dự án trên GitHub như thế nào. App chắc dùng repo riêng rồi, nhưng hai cái kia có nên chia đôi ra không? (Căn bản server có lên mạng thì mới làm app Android được).
  • Nhập CSDL
  • Tạo khung cho các dự án
  • Nghĩ màu sắc của trò chơi để làm giao diện cho thống nhất.
  • Học 😢 (Anh @chitoge ơi cứu em 😭)
  • Làm thử giao diện các thành phần của trò chơi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.