A simple implementation of the game Snake in Rust.
- Clone or download the repository
- Make sure you have SDL2 installed
- Run
cargo build
from the command line - Copy the
resources
directory to the output directory
- Left Arrow: Move to the left
- Right Arrow: Move to the right
- Up Arrow: Move up
- Down Arrow: Move down
- Esc: Quit
Going off the screen will just wrap you around to the other side. The only way to die is by running into your own tail.