The program asks for a betting amount and then asks the user to guess a number on rolling. If the random number generated matches the user input, he wins, else money is deducted. The user can keep playing until he loses all the amount he put in initially.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple console-based casino game where players can place bets on guessing a number between 1 and 10, with a chance to win 10 times the bet amount if they guess correctly. The game includes basic rules and functionalities.
nevinmathew/NumberGuessing
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple console-based casino game where players can place bets on guessing a number between 1 and 10, with a chance to win 10 times the bet amount if they guess correctly. The game includes basic rules and functionalities.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published