<filename>bot/dronerush/__init__.py
import sc2

class Bot(sc2.BotAI):
    def __init__(self, in_state_path=None, out_ns=None):
        super().__init__()
        self.actions = []

    async def on_step(self, iteration):
        self.actions = []

        if iteration == 0:
            target = self.enemy_start_locations[0]

            for worker in self.workers:
                self.actions.append(worker.attack(target))

        await self.do_actions(self.actions)
