#command-line #snake #game #asciicast

app snake-crossterm

Command line snake game

2 stable releases

1.1.0 May 31, 2022
1.0.0 May 31, 2022

#924 in Games

MIT license

16KB
381 lines

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

Dependencies

~1.7–9MB
~77K SLoC