0

Manoeuvre the grid! atomic-code-golf math
You are a bot, in a 2D plane of squares that extends infinitely in all four directions, north, south, east and west. When given a number, you must move the bot so that you get to the target number.
Here's how the grid works:
You can move in 4 direction...