โ† Lessons PIXEL PATH ยท 4โ€“6 ๐Ÿ‘พ

Pixel Priority Arena

LESSON 118
๐ŸŽฏ Today's missions
๐Ÿ‘พ๐Ÿ›โšก
GAME DEV LAB

Pixel Priority Arena

A new game has three bugs, but the worst crash must be fixed first! Build a priority heap that always lifts the most urgent ticket to the top.

๐Ÿง  Before we start

At the backstage door, your token bucket made waiting work take turns safely. Today, turns are not enough: a priority queue uses a heap so the strongest priority always bubbles to the top.

โž• Add lowโ†’โš–๏ธ Compareโ†’โฌ†๏ธ Bubble upโ†’๐Ÿ› ๏ธ Fix top
Challenge 1 of 4Build the heap rule
1

Arrange the priority recipe

Tap four visual instruction blocks in the order a max-heap uses when a new bug ticket arrives.

MY PRIORITY-HEAP PROGRAM
1 ยท ADD
2 ยท LOOK
3 ยท LIFT
4 ยท STOP

๐ŸŒŸ What you learned

Come back tomorrow for another advanced visual coding adventure! โœจ