Maze Runner

A maze is generated using Kruskal's algorithm. Use WASD to move the blue square to the end (red square). A new maze will be generated when you reach the end. Code inspired from Daniel Shiffman.

keyboard (WASD to move and R to restart)