Snake is a common video game where the player maneuvers a line which grows in length, with the line itself being a primary obstacle. The player controls a square and as it moves forward, it leaves behind a trail, resembling a moving snake. The player attempts to eat items by running into them with the head of the snake. Each item eaten makes the snake longer so controlling it is progressively more difficult.
To get a copy of this game onto your local machine, simply click the clone button at the top of the page and follow the prompts thereafter.
This game requires Python to be installed for it to run. To install Python, click here.
From a terminal, navigate into the project directory.
$ cd snake/src
To run the game:
$ python snake.py
The arrow keys on the keyboard are then used to control the snake.
Please read HOW_TO_CONTRIBUTE.md for details on submitting pull requests.
This project is licensed under the MIT license - see the LICENCE.md for details.
This project was inspired by Jody LeCompte's amazing tutorial which can be found here.