Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kabragaurav/guess-the-number

Read README.md file. All the best!
https://github.com/kabragaurav/guess-the-number

csharp guessing-game number-game

Last synced: about 1 month ago
JSON representation

Read README.md file. All the best!

Awesome Lists containing this project

README

        

# Author: [Gaurav Kabra](https://www.quora.com/profile/Gaurav-Kabra-23)

# Run these commands in VSCode terminal:


dotnet new console --force : This initializes the project


dotnet run : This runs the code

# How to Play?
You have 5 lives. That means you can try 5 times to guess the integer

which is between 1 to 10 (both inclusive).

Once you guess it correct OR you run out of lives

you will be asked to continue.

Pressing any key other than Y or y will result in closing of game immediately.
### Note:
Throughout game, colors on console mean something:

RED : invalid input (e.g. too long input or instead of integer you enter type-inconsistent value) OR you are left with final life!

GREEN : You guessed the number correctly. Congrats for that!

WHITE : Rest text (including crash-reports (exceptions) IF ANY)

##### App
Go to [bin/VSProj.exe](https://github.com/gaurav-kabra-official/Guess-The-Number/blob/master/bin/Debug/netcoreapp3.1/CSProj.exe) and run it after download. Happy gaming ^_^