A simple and fun Snake Game built with Python using Tkinter for the GUI and Pygame for sound effects.
- Classic snake game with a modern Python twist.
- Real-time keyboard controls (arrow keys).
- Random food spawning and score tracking.
- Sound effects for food and game over events.
- Restart option after game over.
- Python 3.x
- Libraries:
pygame
Pillow
tkinter
(usually comes pre-installed with Python)
pip install pygame Pillow
Ensure the following files are in the same directory:
-snake game.py
-game_point.mp3 (sound for eating food)
-game_over.mp3 (sound for game over)
Controls
-β Arrow Up - Move Up
-β Arrow Down - Move Down
-β Arrow Left - Move Left
-β Arrow Right - Move Right
-Restart Button appears after Game Over