A console-based number guessing game built with C# and .NET. This interactive application challenges users to guess a randomly generated number while showcasing clean code practices and fundamental C# concepts.
- Random number generation (1-10)
- Interactive console interface
- Colored text feedback
- Input validation
- Play again option
- User-friendly messages
- C# 12.0
- .NET 8.0
- Visual Studio Code
- .NET 8.0 SDK or later
- Any text editor (VS Code recommended) or Visual Studio 2022
- Clone the repository
git clone https://github.com/veepanshu-kasana/NumberGuesser-ConsoleApp.git
- Navigate to the project directory
cd NumberGuesser-ConsoleApp
- Run the application
dotnet run
- Launch the application
- Enter your name when prompted
- Guess a number between 1 and 10
- Receive feedback on your guess
- Continue guessing until you find the correct number
- Choose to play again or exit
- Guess a number between 1 and 10
- Follow the prompts and enter valid numbers
- Receive feedback after each guess
- Option to play multiple rounds
NumberGuesser/
├── Program.cs # Main game logic and entry point
├── README.md # Project documentation
└── NumberGuesser.csproj # Project configuration
Veepanshu Kasana
This project is licensed under the MIT License - see the LICENSE file for details.
⭐ Don't forget to star the repo if you found this helpful!