Skip to content

davidgru/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake

Snake game running in the console.

Build

cargo build -r

Usage and Options

USAGE:
    snake [OPTIONS]

OPTIONS:
    -f, --frequency <FREQ>    The amount of steps the snake makes per second
    -h, --height <HEIGHT>     The height of the board (default is terminal height)
        --help                Print help information
    -w, --width <WIDTH>       The width of the board (default is terminal width)

Control

  • Left: Steer to the left
  • Right: Steer to the right
  • 'q': quit

About

Snake in terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages