Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 814 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 814 Bytes

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