Skip to content

hirohito-protagonist/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake

This is a classic Snake game.

Prerequisites

  • OS X, Windows or Linux
  • Rust

Getting Started

Step 1. Clone the latest version of snake on your local machine by running:

$ git clone https://github.com/hirohito-protagonist/snake.git
$ cd snake

Step 2. Run the game:

$ cargo run

How to play

Move the Snake around using the keyboard arrows and eat food. The more food you eat the more points you gain and the more the Snake goes faster.

  • -move around
  • esc - quit
  • p - pause
  • r - reset
  • spacebar - reset after game over

License

UNLICENSE

Releases

No releases published

Packages

No packages published

Languages