An infinite, randomly-generated maze. Click the green flag to get going. Arrows & WASD to move. Click to change your color.
Uses prim's algorithm to generate the maze. The Wikipedia page as well as this Stackoverflow post were super helpful: https://stackoverflow.com/questions/29739751/implementing-a-randomly-generated-maze-using-prims-algorithm Also this website has a nice visualization: https://hurna.io/academy/algorithms/maze_generator/prim_s.html