Skip to content

MCluck90/snake-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

A simple implementation of the game Snake in Rust.

screenshot

Installation

  1. Clone or download the repository
  2. Make sure you have SDL2 installed
  3. Run cargo build from the command line
  4. Copy the resources directory to the output directory

Controls

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

Releases

No releases published

Packages

No packages published

Languages