Levels
Lv 58
Tower Climb 2
★★★★★
Score 1000 in this challenge.
0
Score:
0
/ 1000
Hint
Code
Run
Reset
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
hero = makeSprite("hero", 180, 340, { emoji: "🧗", w: 36, h: 40, gravity: 0 }); last = ""; count = 0; setMessage("Alternate LEFT/RIGHT to climb!"); whenKey("arrowleft", () => { if (last !== "l") { hero.y -= 8; last = "l"; count += 1; addScore(1); } }); whenKey("arrowright", () => { if (last !== "r") { hero.y -= 8; last = "r"; count += 1; addScore(1); } }); onUpdate(() => { if (count >= 1000) endGame(); }); // Goal: reach 1000 climbs!
Game
← Prev
Next →