Skip to content

GUNH003/ray_casting_maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ray_casting_maze

A first-person maze traversal application.

img1.png img2.png

Features:

  • Random maze generation
  • Collision detection
  • User-controlled player movement
  • First-person view rendering using ray casting technique

Objective:

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

Control:

  • ESCAPE key: exit program
  • UP key: forward
  • DOWN key: backward
  • RIGHT key: turn clockwise
  • LEFT key: turn counterclockwise
  • SPACE key: show map

About

A first-person maze traversal application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published