An idea for how a player could move.. questionably Up arrow to move in the direction the arrow is pointing to. R to restart. Avoid the walls. NOTE: The player will move if it is touching the mouse.
Credit to @ChationTwo