Ad
  • Custom User Avatar

    Im not so smart to understand how can I transform [[0, 0], [2, 2],[0, 0]] to "45-3km -135-3km". Like, how 0 0 2 2 0 0 turns into 45 3 -135 3. What is the formula oh transformation of pair of random numbers, to random numbers? Sorry, Im a newbie.

  • Custom User Avatar

    Try writing some visible tests. That would clarify the initial ship orientation.
    In the description you talk about kilometers but in the tests the expected unit is meters (at least the first ones, not sure if there are tests using km)