I might have to change the only key from spacebar to anykey to avoid any browser issues. You should be able to hold space bar to change the rotation of the maze and then use that change in rotation to build momentum on the marble to get it to bounce where you want.