Arrow keys to move-have fun This uses a pick and check from of physics, its not perfect but work for most applications. It work by "walking" along a line and checking if the distance is within the player size
This was made by me but you need a relatively high understanding of geometry that is typically covered in algebra 2