This is a classic Snake Game implemented in Python using the Turtle library. The game provides a simple and enjoyable experience where the player controls a snake to eat food, grow longer, and avoid colliding with the walls or itself.
Installation:
- Download the zip file containing the project.
- Extract the contents of the zip file to your desired location.
- Ensure you have Python installed on your system. If not, download and install it from Python's official website.
- Install the required libraries using pip
Running the Game:
- Open the project in your preferred Python IDE or text editor (e.g., PyCharm, VSCode, Sublime Text).
- Navigate to the directory where the project is saved.
- Run the
Main.py
file:
Game Controls:
- Use the arrow keys (W, S, A, D) to control the snake's direction.
- The objective is to eat the food to grow longer.
- Avoid hitting the walls or colliding with the snake's own body.
- The game ends if the snake collides with a wall or itself.
Features:
- Simple and intuitive gameplay.
- Score tracking to monitor your progress.
Customization:
- You can customize the game by modifying various parameters in the code speed of the snake.
- Feel free to explore and make changes according to your preferences.
Credits:
- This project is inspired by the classic Snake Game and implemented using Python and the Turtle library.
- Developed by Muhammad Hamza.
Enjoy playing the Snake Game! 🐍