A voice-controlled puzzle game built with Python, Pygame, SpeechRecognition, and SQLite. In this game, you explore a puzzle-filled world where you control your character with your voice. Talk to NPCs, solve different types of puzzles and unlock your path forward — all by speaking!
Action | Control Type |
---|---|
Move Character | keyboard: "left", "right", "up", "down" |
Interact with NPC | Walk into NPC |
Answer Puzzle | Speak the answer |
Exit Game | Press ESC |
- 🐍 Python
- 🎮 Pygame
- 🗣️ SpeechRecognition
- 🧠 Text-to-Speech (pyttsx3)
- 🗂️ SQLite for storing puzzles and progress
Edit puzzles.db
via SQLite or add via code:
INSERT INTO puzzles (category, text, answer, hint, language)
VALUES ('text', 'What has keys but can’t open locks?', 'keyboard', 'It’s in front of you now!','ENGLISH');
Place PNG files in assets/characters/
.