A classic Snake game built with Python and Pyglet, featuring custom obstacles and tailored aesthetics.
Note
This project was created for CS2613 Exploration Activity #1 (Fall 2023 - UNB). Built following this tutorial series by Justin Robertson, with added features and personalized styling.
- Python 3.x - Download here
- Pyglet library - Install using pip
- Clone the repository
git clone https://github.com/kumathy/snake-pyglet.git- Navigate to the project directory
cd snake-pyglet- Install Pyglet
pip install pyglet- Run the game
python snake.py- Launch the game
- Press any arrow key to start moving
- Objective: Eat as many π apples as possible
- Avoid: Colliding with obstacles and screen edges
- Good luck! π
