Nyumba Quest is a 2D adventure game developed using Python and Pygame. Navigate through a mysterious house, collect treasures and health items, and evade AI-controlled enemies to achieve victory.
- Dynamic AI Enemies
- Item Collection
- Realistic Collision Detection
- Pseudo-3D Rendering
- Interactive Menus
- Immersive Sound Effects
- Responsive Controls
- Python 3.7+
- Pygame library
-
Clone the repository:
git clone https://github.com/clairewachira/Nyumba-quest cd nyumba-quest -
Create and activate a virtual environment (optional if you have a global pygame installation):
python -m venv venv # Activate: # Windows: venv\Scripts\activate # macOS/Linux: source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt # Or manually: pip install pygame
- Move Forward: Up Arrow
- Move Backward: Down Arrow
- Rotate Left: Left Arrow
- Rotate Right: Right Arrow
- Pause Menu: Escape
- Select Menu Options: Mouse Click
- Collect All Treasures
- Maintain Health
- Evade Enemies
- Explore the House
python main.pynyumba-quest/
├── audio/
│ ├── bg.mp3
│ ├── item.wav
│ ├── win.wav
│ └── button.mp3
├── images/
│ ├── enemy.png
│ ├── treasure.png
│ ├── health.png
│ ├── player_sprite.png
├── main.py
├── requirements.txt
└── README.md
- Ensure Pygame is installed
- Check asset file locations
- Verify Python version
Contributions are welcome! Fork the repository, create a branch, commit changes, and open a pull request.
Distributed under the MIT License.
- Pygame
- OpenGameArt.org
- Python Community.
Embark on your quest and uncover the secrets that await within the house of mysteries!