Maneuver a snake in its burrow and earn points while avoiding the snake itself and the walls of the snake burrow. The snake grows when it eats an apple by default which can be disabled in the settings tab where you can also find all the other customization options.
Game developed purely on python using the Dear PyGui Framework.
Make sure you have Python 3 installed and working.
Clone the repo:
git clone https://github.com/RahulShagri/OG-Snake-Game.git
- Install prerequisites using pip, preferably in a new environment:
pip install -r requirements.txt
Run the snake_game.py file to start the application.
Customize the speed and colors and hit the
Startbutton to start the game. Maneuver the snake by using the arrow keys or the W, S, D, and A keys on your keyboard. Avoid hitting the snake's body or the walls of the burrow.
Restartbutton to restart the game without resetting the highest score. Hit the
Reset Statsbutton to reset all the scores.
Fix snake lengthcheckbox to stop the snake from growing when it eats an apple.