2 stable releases
1.1.0 | May 31, 2022 |
---|---|
1.0.0 | May 31, 2022 |
#833 in Games
16KB
381 lines
snake-rs
Command line snake game, written in rust
Install with cargo
cargo install snake-crossterm
Then run:
snake-crossterm
Controls
- Arrow keys /
hjkl
: Movement 1
and2
: Change horizontal size of board3
and4
: Change vertical size of board5
and6
: Change game speed7
: Cycle snake style8
: Cycle apple style9
: Toggle wall wrapping0
: Toggle color
Dependencies
~2–12MB
~87K SLoC