Welcome to Dungeon Game Simulator, a thrilling grid-based maze adventure where you navigate through tricky walls and find the shortest path to the treasure! ๐๐บ๏ธ
- Random Maze Generation using Kruskalโs algorithm for solid, challenging walls ๐งฑ๐ฅ
- Player moves smoothly across a grid avoiding walls ๐ถโโ๏ธ๐จ
- Visual indicators for walls โ and the goal (red tile) ๐ฏ
- Displays your steps and compares with the optimal shortest path ๐โโ๏ธ vs ๐
- Interactive Restart button to generate new mazes anytime ๐
- Smooth graphics powered by Pygame ๐จ๐น๏ธ
- Use arrow keys to move your player
- Reach the red tile at the bottom-right corner to finish the maze
- Your steps and โdeltaโ (extra steps compared to shortest path) will be displayed
- Click Restart to try a new maze and beat your best! ๐ฅ
Make sure you have Python and Pygame installed by running pip install pygame in your terminal.
Then run the game with the command python main.py and enjoy!
Feel free to open issues or pull requests. Letโs make this dungeon even more exciting! ๐
MIT License โ freely use, modify, and share! ๐
Enjoy the adventure and may your path always be clear! โจ๐ก๏ธ