Controls: 1. Press the green flag. 2. Define the size and let the maze generate. 3. Use arrow keys to move the player towards the "X". 4. Play again! Have fun! Note: The player will be put at the farthest point from the "X".
Credit to @griffpatch for inspiration. Please tell me if there are any glitches/bugs.