An open API service indexing awesome lists of open source software.

https://github.com/vacovsky/snake-game-python3


https://github.com/vacovsky/snake-game-python3

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

- Installation:

Python 3.x.x is required.

Files:
1) snake_main.py
2) launch_game_[idle].py

launch_game_[idle].py helps with compatibility on locked down systems but is not essential for the game to run properly.

- How to run the game:

Method 1) Double click snake_main.py.
Method 2) Right click snake_main.py and choose open with Python (Do not open with IDLE).
Method 3) Open IDLE and run launch_game_[idle].py

- How to play:

Use the WASD keys to change direction and use X to quit.

Your main goal is to collect as many pieces of fruit (The "@" pieces) as possible.

Colliding with walls will not kill you but will instead move you to the opposite side of the screen.

Colliding with your tail will kill you.

- Credits:

Written by Sam Scott on 22-02-2016

Ported from C++ to Python 3 by Sam Scott

Thanks to NVitanovic for his YouTube tutorials on how to write this game in C++