A simple Snake Game built using Python and Turtle graphics.# Snake Game
A classic Snake Game built using Python's Turtle graphics module. This project was created as part of my Python learning journey.
- Control the snake using the arrow keys.
- Snake grows after eating food.
- Random food generation.
- Collision detection with walls and the snake's body.
- Score and high score tracking.
- High score is stored using a text file.
- Python
- Turtle Graphics
- Object-Oriented Programming (OOP)
- File Handling
Snake-Game/
│
├── main.py
├── snake.py
├── SnakeFood.py
├── scoreboard.py
├── snake_data.txt
└── preview.gif
- Clone the repository.
git clone https://github.com/YOUR_USERNAME/snake-game.git-
Open the project folder.
-
Run the following command:
python main.py- Creating games using Python.
- Organizing code into multiple classes.
- Working with the Turtle module.
- Using file handling to save data.
- Applying object-oriented programming concepts.
