Simple copy of the classic game Snake, written in Rust using SDL2.
- Use the arrow keys or WASD to move the snake.
- Eat the red apples to grow.
- Don't run into the walls or yourself.
- Press Space or Escape to pause the game.
- Press R to restart the game.
- Input is a bit buggy so be careful with your APM otherwise you might crash into yourself.
- Install Rust and Cargo from https://rust-lang.org/.
- Install SDL2
- Clone the repository and navigate to the project directory.
- Run
cargo run --release
.