snake-crossterm

Crates.iosnake-crossterm
lib.rssnake-crossterm
version1.1.0
sourcesrc
created_at2022-05-31 13:07:09.074431
updated_at2022-05-31 21:46:51.817679
descriptionCommand line snake game
homepagehttps://github.com/nph278/snake-rs
repositoryhttps://github.com/nph278/snake-rs
max_upload_size
id597509
size24,514
nph (nph278)

documentation

README

snake-rs

Command line snake game, written in rust

asciicast

Install with cargo

cargo install snake-crossterm

Then run:

snake-crossterm

Controls

  • Arrow keys / hjkl: Movement
  • 1 and 2: Change horizontal size of board
  • 3 and 4: Change vertical size of board
  • 5 and 6: Change game speed
  • 7: Cycle snake style
  • 8: Cycle apple style
  • 9: Toggle wall wrapping
  • 0: Toggle color
Commit count: 11

cargo fmt