Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 744 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 744 Bytes

Snek.rs

Just another minimal implementation of the snake game, this time using in Rust + SDL2. Screenshot

Running & local development

  1. I tested this with rustc 1.65.0, so make sure you have a compatible version.
  2. Also make sure your system has the SDL2 dev libraries.
  3. Clone this repo.
  4. cargo run it.
  5. Enjoy!

Keybindings:

  • WASD to move
  • Escape to pause/unpause/restart.

The code