Solution of the informatiCup 2014 - Manganese harvest on the pacific seafloor. Task was to simulate N robots who where let alone on there to collect as much manganese nodule and meet then in a goal point. And all that without interference of the mothership.
This solution is based on the idea that the infinite sea floor is discretized into a grid: