Ace of Coders - Python - Level Help

Help! I have completed the “ace-of-coders” level but I don’t get the reward for winning. I’ve been waiting for about 5 days now, on the 3rd day I reset the level and changed a part of the code but still I’ve been waiting for 2 more days to get the reward. Any solution?

# Venza al héroe enemigo en menos de tres minutos.
def buildArmy():
    # Tu héroe puede invocar y ordenar a tropas aliadas.
    buildOrder = ["soldier","soldier","soldier","soldier","soldier","soldier","soldier","soldier","soldier","soldier", "archer","soldier", "archer", "soldier", "archer"]  # "archer", "artillery", "arrow-tower"
    type = buildOrder[len(hero.built) % len(buildOrder)]
    if >= hero.costOf(type):
def commandArmy():
    friends = hero.built
    enemies = hero.findEnemies()
    points = hero.getControlPoints()
    for i, friend in enumerate(friends):
        if <= 0 or friend.type == "arrow-tower":
        # Manda a tu ejército a capturar puntos de control.
        # Asegúrate de elegir tus puntos de control sabiamente.
        point = points[i % len(points)]
        if < 30:
            self.command(friend, "defend", point.pos)
            enemies = self.findEnemies()
            nearestEnemy = self.findNearest(enemies)
            self.command(friend, "attack", nearestEnemy)
def controlHero():
    enemies = hero.findEnemies()
    nearestEnemy = hero.findNearest(enemies)
    shouldAttack = hero.time > 90
    # Usa las habilidades de tu héroe para cambiar el rumbo.
    # if shouldAttack: ...
    if shouldAttack:
while True:

You don’t get rewards for winning ace of coders.

it’s ok that they don’t give me a reward, but it doesn’t mark the levels at 49/49, it’s still at 48/49 but I’ve already passed the level. @Endsoldier

Then I don’t know.

Try playing against a real player, not the CPU

hmm but i played against a player 5 times manually but it still didn’t mark it as complete

I am not marked as completed either @Aya @cheddarcheese

Then I dont know
Maybe @Chaboi_3000 or @Bryukh can help us?

1 Like