Welcome to Snake Game in Python! This classic Snake game is implemented using Object-Oriented Programming (OOP) principles and the Turtle graphics library.
- Navigate the snake using arrow keys.
- Collect food to increase the snake's length.
- Avoid collisions with the walls and the snake's own tail.
- Track your score with the integrated scoreboard.
- Best score persistence across game sessions.
- Python 3.x
- Turtle graphics library (usually included in Python standard library)
-
Clone the repository:
git clone https://github.com/AbdelmalekIla/SnakeGamePython.git
-
Navigate to the project directory:
cd SnakeGamePython
-
Run the game:
python main.py
-
Use arrow keys (Up, Down, Left, Right) to control the snake.
-
Have fun playing!