Snake With Python game with Audio Effects written in Python using Pygame library.
Download the Python 3 installer package from the official website and install it, if not installed previously.
Run the following in the terminal to install the Pygame library
pip install pygame
Download the source code from the repository and run the file just as any other Python script (.py) file.
Just don't make any changes to the directory structure and run the following command in cmd,
python Snake_Game.py
, then you are good to go.
High Score of the user is managed by the file highscore.txt initially it will having highscore as 0 and updated as the game proceeds.
Download "Snake With Python exe" folder and dont make any changes in that folder just run game Snake_Game.exe file directly.
Play game here
Goal of the player is Snake has to eat as many fruits as possible.
The more fruits Snake will it the more it will grow in length hance making the game dynamic and harder.
- Use Arrow keys to control Snake movement.
- Exit anytime from the game using
Escape
key.
Happy Gaming! ❤