Skip to content

lamonato29/Guess-The-Number---Game

Repository files navigation

🎲 Guess The Number - Console Game

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!

Game Header .NET Version Database


✨ Features

  • 🎮 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.Console featuring:
    • Figlet headers
    • Selection prompts
    • Colorful status messages
    • Beautifully formatted tables for records

🏗️ Tech Stack

  • Language: C#
  • Framework: .NET 8.0
  • UI Library: Spectre.Console
  • ORM: Entity Framework Core
  • Database: SQLite

🚦 Getting Started

Prerequisites

Installation & Execution

  1. Clone the repository:

    git clone https://github.com/lamonato29/Guess-The-Number---Game.git
    cd Guess-The-Number---Game
  2. Build the project:

    dotnet build
  3. Run the game:

    dotnet run

🕹️ How to Play

  1. Choose Play Game from the main menu.
  2. Enter the number of players.
  3. Choose your difficulty:
    • Oracle: 0 to 25
    • Seer: 0 to 100
    • Nostradamus: 0 to 1000
  4. Take turns guessing the number. Bill (the Game Manager) will tell you if your guess is too high or too low!

🕯️ Legendary Matches

The "Antigravity" Run

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:
    1. 12 (Too High!)
    2. 6 (Too High!)
    3. 3 (Correct!)

Developed by Bruno Lamonato

About

Este repositório contém um simples jogo de adivinhação escrito em C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages