9 releases
new 0.1.8 | Aug 30, 2024 |
---|---|
0.1.7 | Aug 14, 2024 |
0.1.3 | Jul 22, 2024 |
#17 in Games
607 downloads per month
215KB
4.5K
SLoC
casino_games
Play casino games in your terminal.
Note: This program is still a work-in-progress and is being actively developed. Expect the usage below to change.
Games
Current Games:
- Texas hold 'em
Planned Games:
- Blackjack
Usage
Enter quit
or q
at anytime you can input text to quit the game.
$ cargo run
Welcome to the casino!
Enter 'q' at anytime to quit.
Games
1. Texas hold 'em
Enter the number of the game you would like to play.
> Game: 1
**********************
* ♠ Texas hold 'em ♠ *
**********************
Tables
1. 1/3 No-limit
2. 2/5 No-limit
3. Custom
Enter the table number.
> Table: 1
> Enter your name:
Welcome Player 1! Are you happy with this name?
> yes/no [Y/n]:
You do not have enough chips to play at this table.
Current chips amount: 0
Required chips amount: 100
Additional chips needed: 100
How many chips would you like to buy?
> Amount (USD) of chips to buy: 100
todo
- improve computer ai
- add a terminal user interface (tui)
Dependencies
~0.8–1.3MB
~28K SLoC