Coder Social home page Coder Social logo

neo-tat / parrot_number_starter Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 49 KB

Parrot Number is a simple guessing game built using Flutter. The game involves guessing a number between 1 and 100, with the help of hints given by a parrot.

License: MIT License

Kotlin 7.08% Swift 22.00% Objective-C 2.07% Dart 53.32% Shell 15.52%

parrot_number_starter's Introduction

Parrot Number - Flutter Guess Number Game

Parrot Number is a simple guessing game built using Flutter. The game involves guessing a number between 1 and 100, with the help of hints given by a parrot.

Getting Started

To get started with Parrot Number, clone the repository to your local machine using the following command:

git clone [email protected]:NEO-TAT/parrot_number_starter.git

Installation

To install the required dependencies, run the following command:

flutter pub get

Running the App

To run the app on your local machine, run the following command:

flutter run

Description

這是一個猜數字遊戲的初始模板,你可以在此基礎上開發出自己的猜數字遊戲,但要符合以下限制: 猜數字過程如下:App 會在遊戲開始時先從 n (1 <= n <= 100) 之中隨意選取一個數字當作答案, 然後玩家會透過畫面上的某個輸入框框來數入猜的數字。每當玩家送出一次猜測時,畫面就會告訴玩家你猜的數字是大於還是小於正確答案。如果玩家猜到正確答案,畫面就會跳轉到遊戲結束恭喜過關頁面,並顯示玩家猜的次數與正確答案。

  • 頁面1(首頁):在畫面**顯示 App Logo, Logo 不限,可自行設計或放一張你喜歡的圖。頁面下半部要有個開始遊戲按鈕。
  • 頁面2(猜數字頁面):要有個輸入匡可以讓玩家輸入數字,和一個送出按鈕。此外,還要有個地方顯示玩家該次猜測的數字是大於還是小於正確答案。在頁面的下半部要有個清單可以列出玩家猜測過的數字歷史紀錄。
  • 頁面3(成果頁面):要顯示恭喜之類的字詞來告訴玩家你終於猜對了。此外,要有個數字顯示正確答案,以及玩家總共的猜測次數。

以上敘述為大方向限制,實際上的實作細節各位可以自行發揮,例如:頁面佈局可以依個人喜好調整,或是增加一些題目沒講到的內容都可以唷~

進階要求:以下幾點為較為進階的題目要求,如果有興趣的話也可以試試看:

  1. 線上計分板功能:玩家的遊玩成績(猜了幾次、時間等)資訊可以上傳到 firebase, 並讓所有玩家在 App 中的某處欣賞,尤其是在成果頁面,可以比較自己的排名
  2. 遊戲進度儲存:玩到一半的時候關掉 App 再打開,可以從上次猜的位置繼續猜

上述所有項目均不限制使用之技術,僅要求使用 flutter / Dart 進行開發。(狀態管理、依賴注入、動畫、框架、MethodChannel Call、演算法資料結構、ci/cd、AI ML、AR VR ...)

Some Links

License

Parrot Number is open source software licensed under the MIT license.

parrot_number_starter's People

Contributors

xanonymous-github avatar

Stargazers

Uriah Xuan avatar

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.