Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/kabragaurav/guess-the-number
- Owner: kabragaurav
- License: mit
- Created: 2020-03-25T13:19:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-26T10:15:03.000Z (over 4 years ago)
- Last Synced: 2024-04-23T22:08:43.246Z (8 months ago)
- Topics: csharp, guessing-game, number-game
- Language: C#
- Size: 99.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 ^_^