This is a simple Snake game implemented using Tkinter in Python.
- Classic Snake game where the player controls a snake to eat food and grow.
- The snake grows longer each time it eats food and the player's score increases.
- The game ends when the snake collides with the walls or itself.
- Controls: Use arrow keys (up, down, left, right) to change the snake's direction.
- Python 3.x
- Tkinter (Usually comes pre-installed with Python)
-
Clone the repository or download the source code.
-
Navigate to the directory containing the source code.
-
Run the following command in your terminal or command prompt:
python snake_game.py
-
Enjoy playing the Snake game!
snake_game.py
: Contains the main code for the Snake game.README.md
: Provides information about the game and how to run it.
- Use the arrow keys to control the direction of the snake.
- Press any arrow key to start the game.