🐍 Snake Maze – AI Pathfinding Edition
A modern styled Snake game featuring:
🧠 Auto-pathfinding • 🧱 Maze Mode • 🔊 Retro Synth Sounds • 🚀 Speed Control
🎮 Game Modes
1️⃣ Normal Mode
- Classic Snake gameplay with neon aesthetics
- AI auto-navigation using A* Pathfinding
- Smooth animations & colorful body segments
2️⃣ Maze Mode
- Random solvable mazes generated each play
- Navigate manually or let AI handle the maze
- Contains walls, start zone, goal zone, and safe-spawning food
🧠 AI Features
- A* (A-star) intelligent pathfinding
- Avoids snake body & maze walls
- Chooses shortest safe route
- Works in both Normal & Maze modes
🔥 Controls
| Key |
Action |
| ⬆ ⬇ ⬅ ➡ |
Manual movement |
| TAB |
Auto ↔ Manual Toggle |
| M |
Toggle Maze Mode |
| R |
Reset Game |
| + / - |
Speed Control |
| ESC |
Quit |
🟣 Sound Effects
Generated using NumPy waveforms:
- Movement beeps
- Eating chime
- Speed up/down tones
- Maze enter/exit synth
- Wall collision warning
📦 Requirements
▶️ Run the Game
⭐ Support
If you like this project, please give it a ⭐ on GitHub!
I want to make different maps and sound audio speed control find paths new mapssss