Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

[Adventurer] Double Queue


#1

Hi, Adventurers! Here is a new level about queues: Double Queue

You won’t see “direct” managed queues there with commands “ENQUEUE” and “DEQUEUE”. There are two queues which you need synchronise with voice commands.


#2

Seems broken or I’m not getting something right: as soon as the first sword arrives, my hero says “Ah, I feel mightier!” and the sword disappears. Thus I fail the level because I cannot equip the peasants…


#3

Can you post your code so we can assist you @ant?


#4

[ code removed ]

(20 chars)


#5

The code is correct, and it runs perfectly in my account. Let’s bring this in PM’s @ant


#6

I changed the hero from Okar to Tharin and now it works… :face_with_raised_eyebrow:


#7

Yep, this is a big bug. I’ll report it. :wink:


#8

Okar is bigger so maybe he’s picking potions and swords instead of only commanding minions. If you play with Tharin

# and put this line ahead of main
hero.move(Vector(36,25))
while True:
    # code follows and fails