https://github.com/vacovsky/snake-game-python3
https://github.com/vacovsky/snake-game-python3
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/vacovsky/snake-game-python3
- Owner: vacovsky
- Created: 2016-05-03T02:55:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-22T19:50:32.000Z (over 10 years ago)
- Last Synced: 2025-01-30T23:48:37.578Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
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++