move forward with w, move back with s, move left with a, move right with d. whenever you reach x, the maze resets itself.
credits to @griffpatch for tutorial