Welcome to the Snake Game project! This game is a fun implementation inspired by the classic snake game, created as part of the 100 Days of Code challenge on Udemy.
This project leverages Python's object-oriented programming features, such as classes, inheritance, slicing, and the turtle module, providing an engaging way to reinforce these concepts through the creation of an interactive game.
To play the game, follow these steps:
- Clone the repository:
git clone https://github.com/yingliu1206/SnakeGame.git cd SnakeGame - Run the game: Ensure you have Python installed, then run
python main.py
Use the arrow keys to control the direction of the snake. Try to eat the food to grow your snake while avoiding collisions with the walls and itself.
- 100 Days of Code: The Complete Python Pro Bootcamp - Udemy for the inspiration and guidance.