Back to Treasure Door Decision
Code Studio · Level 3 Builder

Build Three Game Rules

Repair three security gates. Each one needs a different variable, comparison, and target before its reward will activate.

Current mission rewardscore ≥ 10
1. Shield Gate2. Healing Station3. Treasure Room
Build the current rule

Shield Gate

Unlock the shield when the player has at least 10 points.

Variable
Comparison
Target
let playerScore = 12;

if (___ ___ ___) {
  unlockShield();
}
Game System

Build the Shield Gate condition.

PLAYER SCORE12
Current game reward
RULE MISSING
Finish the condition first.
Shield ruleHealing ruleTreasure rule

Read the mission, then choose the three matching code pieces.