Levels
Lv 2
Move Right
★
Move the hero to the right side of the screen.
0
Score:
0
/ 1
Hint
Code
Run
Reset
1
2
3
4
5
6
7
hero = makeSprite("hero", 20, 180, { emoji: "🤖", w: 40, h: 40, gravity: 0 }); onUpdate(() => { if (keyDown("arrowright")) move(hero, 3, 0); if (hero.x > 320) { addScore(1); endGame(); } });
Game
← Prev
Next →