An optimizer for leekwars AI