A spaceship is moving through 2-dimensional space by a series of jumps. Each jump consists of rotating right and flying forward. The angle of rotation is always the same and the distance flown forward is always the same. Thus, ship is flying circles around some point.
There's a special point marked in space. The question is: with given angle, how far should the ship travel with each jump, such that circle he's flying will cross the point? (ship does not necessarily need to hit the point). Is there only one solution?
Ship may turn left or right, but this decision must be made before starting flying, later it always turns the same way each jump.
Just for fun, this is my ship navigation algorithm, that was developed with amd's aid: