A desktop Snake game built with Python's standard-library tkinter GUI. No third-party dependencies are required.
python3 snake_game.py- Arrow keys or
WASD: Change direction - Space: Pause or resume
R: Restart the gameEsc: Quit
The game gradually speeds up as your score increases and keeps track of the high score for the current session.
python3 -m unittest -v- Python 3.10+
- Tkinter (usually included with Python)