A Python maze-solving game that reads a maze from a text file and displays it graphically using Pygame. The game can solve any given maze using a built-in algorithm. When you run the game, it will automatically solve the maze and show you the path the player would take to reach the goal. The solved path is represented by green colour.
- Load and display mazes from text files.
- Automatic maze-solving algorithm.
- Graphical representation using Pygame.
- Customizable maze designs.
- Clone the repository:
git clone https://github.com/sajitha-tj/Maze-Game.git
- Install the required packages:
pip install -r requirements.txt
- Run the game with a maze file (maze.txt is provided):
python mazeGame.py maze.txt