THE WARDEN'S MAZE Find the glowing green door on the far wall before the Warden catches you. 1. Click the green flag 2. Press SPACE to begin CONTROLS Up arrow or W: move forward Down arrow or S: move back Left/Right arrow or A/D: turn Q / E: strafe left / right M: show or hide the minimap SPACE: start, or retry after getting caught TIPS - You get a 5 second head start before the Warden moves. - You are faster than the Warden, but it always knows the shortest path to you. - The minimap only shows areas you have actually seen. - Each level is a bigger maze and the Warden speeds up.
Advertising encouraged! https://scratch.mit.edu/projects/1385593988/ https://scratch.mit.edu/projects/1390270430/ https://scratch.mit.edu/projects/1362438296/ https://scratch.mit.edu/projects/1387214188/ https://scratch.mit.edu/projects/1390285586/ HOW IT WORKS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - Maze generation: iterative depth-first search with a stack, plus random extra openings so there are loops. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - 3D view: a raycaster casts 120 rays per frame using the DDA algorithm, with a depth buffer, distance fog, and tile-edge shading. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - Warden AI: breadth-first search from your position gives the Warden the shortest path through the maze. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - The Warden is a scaled sprite that hides behind walls by checking the depth buffer. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - Minimap: fog of war that reveals cells your rays have hit. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - 13 custom blocks (run without screen refresh) and a state machine for the title, play, caught, and cleared screens. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Runs smoother in TurboWarp. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ All code, art, and design by me. Alexander7030 2026