Skip to content

sam-kenney/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

Simple copy of the classic game Snake, written in Rust using SDL2.

How to play

  • 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.

How to run

  1. Install Rust and Cargo from https://rust-lang.org/.
  2. Install SDL2
  3. Clone the repository and navigate to the project directory.
  4. Run cargo run --release.

About

Simple snake recreation using SDL2 and Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages