casino_games

Crates.iocasino_games
lib.rscasino_games
version0.1.8
sourcesrc
created_at2024-07-15 20:10:27.955646
updated_at2024-08-30 15:37:56.685253
descriptionPlay casino games in your terminal.
homepage
repositoryhttps://github.com/winstonrc/casino/tree/main/crates/casino_games
max_upload_size
id1304272
size56,347
Winston Cooke (winstonrc)

documentation

README

crates.io Casino Test

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)
Commit count: 0

cargo fmt