/guess_a_number

Guess a Number from 1 to a Million

Primary LanguageDart

Guess a Number

Remake of my first game written in QBasic when I was 12.

The game is a simple guessing game where the player has to guess a number between 1 and a Million.

The player has 20 tries to guess the number. After each guess, the game will tell the player if the guess was too high or too low. If the player guesses the number, the game will tell the player how many tries it took to guess the number.

There is an AI opponent playing as well. If they guess the number before you do, you lose. If you guess the number before they do, you win.

Flutter updates

This version will have a visual representation of how much they have narrowed the answer space compared to the AI.

Tasks

The actual implementaion should be as rapid as possible, not involving scalable architecture. The end goal is to have the game hosted on a public GitHub repo page. First we'll need basic project setup. A scaffold for visualizing changes. Then implement the game rules in a manager class. Test and then publish and share.

Dev

  • Create a new Flutter project
  • Share to public GitHub repository
  • Scaffold
  • Test Game Rules Class
  • Game Rules Implementation
  • Wire up to Scaffold with Text
  • Create Answer Space Widget
  • Show individual digits and lock them in once they are known (A naturally logrithmic LPI)
  • Refactor Game Rules to use Answer Space Widget
  • Game Lifecycle State (New Game, Game Over, etc.)
  • Game Lifecycle Widget
  • About page
  • GitHub Pages Action

Publish

  • Publish to GitHub Pages
  • Publish to Game Jolt
  • Publish to itch.io
  • Publish to Google Play
  • Publish to Apple App Store
  • Publish to Microsoft Store
  • Publish to Nintendo Switch
  • Publish to PlayStation
  • Publish to Xbox
  • Publish to Steam
  • Publish to Epic Games Store
  • Publish to GOG
  • Publish to Humble Store
  • Publish to Discord Store

Share

  • Share on Facebook
  • Share on Twitter
  • Share on Instagram
  • Share on TikTok
  • Share on YouTube
  • Share on Reddit
  • Share on LinkedIn