Skip to content

kabragaurav/Guess-The-Number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author: Gaurav Kabra

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 and run it after download. Happy gaming ^_^

About

Read README.md file. All the best!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages