Crates.io | snake-crossterm |
lib.rs | snake-crossterm |
version | 1.1.0 |
source | src |
created_at | 2022-05-31 13:07:09.074431 |
updated_at | 2022-05-31 21:46:51.817679 |
description | Command line snake game |
homepage | https://github.com/nph278/snake-rs |
repository | https://github.com/nph278/snake-rs |
max_upload_size | |
id | 597509 |
size | 24,514 |
Command line snake game, written in rust
cargo install snake-crossterm
Then run:
snake-crossterm
hjkl
: Movement1
and 2
: Change horizontal size of board3
and 4
: Change vertical size of board5
and 6
: Change game speed7
: Cycle snake style8
: Cycle apple style9
: Toggle wall wrapping0
: Toggle color