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.gold >= hero.costOf(type):
        hero.summon(type)
    
def commandArmy():
    friends = hero.built
    enemies = hero.findEnemies()
    points = hero.getControlPoints()
    for i, friend in enumerate(friends):
        if friend.health <= 0 or friend.type == "arrow-tower":
            continue
        # 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 self.now() < 30:
            self.command(friend, "defend", point.pos)
        else:
            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:
        attack(nearestEnemy) 
    
while True:
    buildArmy()
    commandArmy()
    controlHero()

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.
f

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

Ace of Coders is an arena so you can just fight with the other players and get ranked with your code. When you won the game, you get tournament scores instead of level awards. So there’s no “complete” in the game, because the other human players could rewrite their codes, and you gotta fight with them with a new code. You could never complete it though you won the game in a period.

Uhh buddy you know what necro post is? when you reply to a old topic it basically revives it

and it makes everyone see it in their feed and people dont like seeing old topics which is why i suggest not doing that

even know its kinda allwoed cuz if the necro on topic it is allowed bt people still kinda hate it