#snake #piston #piston-game-engine #game #game-engine #rust

app gusbunce-snake

A simple snake game written in Rust using the Piston game engine

2 releases (1 stable)

1.0.0 Jul 16, 2024
0.1.0 Jul 15, 2024

#169 in Games

MIT license

22KB
404 lines

Snake

This is a simple snake game written in rust utilisng the piston game engine.

How to play

  • Use the arrow keys to move the snake
  • Eat the food to grow the snake
  • Don't run into the walls or yourself (or else you die and the game ends)

TODO

  • Add a score counter
  • Add a high score counter
  • Add a game over screen
  • Add a pause screen
  • Add a main menu screen
  • Add a settings menu
  • Add a grid option
  • Add a speed option
  • Add a color option
  • Add audio

Dependencies

~7–15MB
~166K SLoC