Shield Gate
Unlock the shield when the player has at least 10 points.
let playerScore = 12;
if (___ ___ ___) {
unlockShield();
}
Repair three security gates. Each one needs a different variable, comparison, and target before its reward will activate.
score ≥ 10Unlock the shield when the player has at least 10 points.
let playerScore = 12;
if (___ ___ ___) {
unlockShield();
}
Read the mission, then choose the three matching code pieces.
You used “at least,” “less than,” and “exactly equal” conditions in three different systems.
Completed! Try If / Then Challenge