use arrow keys to move player. make sure you don't go over the edge or the game will crash
slope detection using the math atan function the tan function gives a slope out of an angle for a triangle, so the inverse of that function gives an angle from the slope