A modern, interactive, and beautifully designed terminal-based "Guess The Number" game built with .NET 8.0.
Challenge yourself or compete with friends to see who can find the secret number with the fewest attempts!
- 🎮 Engaging Gameplay: Simple but addictive guessing logic with intelligent hints.
- 🏆 High Scores: Persistent leaderboard system using SQLite to track the best players across different difficulty levels.
- 👥 Multiplayer: Support for multiple players in a single match.
- 🛠️ Custom Settings: Toggle hints on/off for an extra challenge.
- 🎨 Rich UI: Styled with
Spectre.Consolefeaturing:- Figlet headers
- Selection prompts
- Colorful status messages
- Beautifully formatted tables for records
- Language: C#
- Framework: .NET 8.0
- UI Library: Spectre.Console
- ORM: Entity Framework Core
- Database: SQLite
-
Clone the repository:
git clone https://github.com/lamonato29/Guess-The-Number---Game.git cd Guess-The-Number---Game -
Build the project:
dotnet build
-
Run the game:
dotnet run
- Choose Play Game from the main menu.
- Enter the number of players.
- Choose your difficulty:
- Oracle: 0 to 25
- Seer: 0 to 100
- Nostradamus: 0 to 1000
- Take turns guessing the number. Bill (the Game Manager) will tell you if your guess is too high or too low!
Played on March 6, 2026
A remarkable display of binary search intuition!
- Player:
Antigravity - Difficulty:
Oracle - Result: Victory in 3 tries
- Duration:
00:14.12 - Guess History:
12(Too High!)6(Too High!)3(Correct!)
Developed by Bruno Lamonato