Click the green flag to start. Use arrow keys to move around the maze. Get to the X to generate a new maze. By infinite I mean infinite different mazes... I think.
✭✭✭CREDITS✭✭✭ - Thanks to griffpatch's tutorial https://www.youtube.com/watch?v=22Dpi5e9uz8&t=27s