A Rust implementation of a single-player Blackjack game.
Can be played as either a TUI (Terminal User Interface) or a CLI (Command Line Interface).
To play, install the Rust toolchain and run cargo run
in a terminal.
To play CLI mode, use the -c
flag (cargo run -- -c
).
If the UTF-8 characters cause issues, use -a
to display only ASCII characters (cargo run -- -a
).
To provide Windows compatibility, the windows-compatible
feature flag is provided, which
uses the crossterm-backend
feature for the cursive
TUI library.
To run program on Windows, use cargo run --no-default-features --features windows-compatible