Мой профиль
← Back to activities

Build a route for your mini-game

Try it first, then see why it works.

Help Veda reach the star

Go around the water. Add commands in order: down first, then right.

my_game.jsCommands for this game

One piece at a time

Board on the left

Your hero lives here. Commands on the right move it.

A line

One line is one command. They run from top to bottom.

hero.right

hero is our character; right means move right. The dot links the character to its action.

(2)

Parentheses contain a detail for the command. The number 2 means move two squares.

hero is an object in our game environment, not a built-in language command. Only the four shown commands run here. A full language editor will be a separate step.