A classic Snake game served via a local Python HTTP server.
- Python 3 (no additional packages needed)
python3 server.pyThen open your browser and go to:
http://localhost:8080
| Key | Action |
|---|---|
| Arrow Keys / WASD | Move the snake |
| Space | Start / restart game |
- Eat the red food to grow and score points
- Avoid hitting the walls or yourself
- Speed increases as your level goes up (every 100 points)
Press Ctrl+C in the terminal.