@@ -0,0 +1,980 @@
+import common%0A%0A%0Adef settler():%0A    my_tag, map_size, initial_map, log = yield %22Settler%22%0A%0A    while True:%0A        game_map = yield%0A        command_queue = %5B%5D%0A%0A        for ship in game_map.ships%5Bmy_tag%5D:%0A            if ship.docked != %22undocked%22:%0A                continue%0A%0A            planets = game_map.planets.values()%0A            sort_key = lambda planet: common.distance(ship, planet)%0A            for planet in sorted(planets, key=sort_key):%0A                angle, distance = common.orient_towards(ship, planet)%0A%0A                if planet.owned:%0A                    continue%0A%0A                # Prevent multiple ships from converging on the same planet%0A                planet.owned = True%0A%0A                if common.can_dock(ship, planet):%0A                    command_queue.append(common.dock(ship, planet))%0A                else:%0A                    command_queue.append(common.move_to(ship, angle, 1))%0A%0A                break%0A%0A        yield command_queue%0A%0Acommon.run_bot(settler)%0A

Add basic settler bot (#32)