A Python remake of the game Snake where the goal is to simply collect as much food as possible. For this the player most change the direction of the ever moving snake to avoid hitting the edges of the screen or itself which is made more difficult as the snake expands.
Please note that there is no end-game so close the screen to exit.
The file is written in standard Python that uses two modules:
- turtle
- random
Both of these modules should be included with the standard Python libraries, so there shouldn't be any issues using these files in any Python environment. The main file controls the screen and the calling of other elements. While the changing elements i.e. player, food, scoreboard are controlled through their namesakes. The data.txt stores the high score of the user and can be reset as needed.
If you wish to contribute to any of my files, you are more than welcome to as long as you keep in mind the following:
- Provide a description of any minor changes before commiting.
- If you are making major changes please branch the project.
- Provide a name/handle so you can be aknowledged for your work.
- You do not require my permission to proceed with any changes.
- As this is Unlicensed the project may be copied to another repository for any reason at any time and used how they see fit.
This project falls under The Unlicense allowing for the use of this project for any purpose. For more information on this type of license please see the LICENSE.md
Please feel free to contact me here: