A first-person maze traversal application.
- Random maze generation
- Collision detection
- User-controlled player movement
- First-person view rendering using ray casting technique
Player always spawn in the top-left corner of the maze, the objective is to reach the bottom-right corner of the maze.
Player can use top-down map to navigate through the maze, or use the DFS algorithm to explore the maze.
The crosshair's color indicates if the position aimed at is already visited:
- Green: unvisited
- Red: visited
- ESCAPE key: exit program
- UP key: forward
- DOWN key: backward
- RIGHT key: turn clockwise
- LEFT key: turn counterclockwise
- SPACE key: show map