https://github.com/shresthasameerman/maze_game
https://github.com/shresthasameerman/maze_game
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shresthasameerman/maze_game
- Owner: shresthasameerman
- Created: 2024-12-28T06:20:10.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T06:21:29.000Z (5 months ago)
- Last Synced: 2025-02-05T13:42:03.298Z (3 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Maze Game with Traps
This is a competitive maze game built using Python and Pygame, where the player must navigate through a maze filled with traps. The game features multiple levels, increasing difficulty, and a timer that decreases with each level.
## Features
- **Maze Generation**: Procedurally generated maze using a depth-first search algorithm.
- **Traps**: Randomly placed traps that reduce player lives upon collision. The traps increase in number as the levels progress.
- **Levels**: The game contains multiple levels with increasing difficulty. Each level has a time limit that decreases as the game progresses.
- **Player Movement**: The player moves through the maze using the arrow keys or `WASD` keys.
- **Trap Reveal**: Players can press the `H` key to toggle the visibility of traps.
- **Goal**: Reach the bottom-right corner of the maze to complete the level.
- **Time Limit**: The player has a limited time to complete each level. Time limits decrease with each level.## Installation
To run this game on your local machine, follow these steps:
### 1. Clone the repository
```bash
git clone https://github.com/your-username/maze-game.git
cd maze-gamepip install pygame
python maze_game.py