LEVEL 1 OF 8
First steps
CHALLENGE
Your best runs
LEVEL BUILDER
Build your own level
Pick something below, then click or drag on the board. There is only one hero and one flag – placing them again moves them.
WIDTH
HEIGHT
12 × 8
HEALTH 100
GEMS 0
ENEMIES LEFT 0
KEYS 0
FROST READY
MOVES 0
You’re stepping move by move: ◀ and ▶ move one step, the slider jumps. The variables show the state at that moment.
LOG
VARIABLES
What your blocks look like in Python
Drag blocks from the list on the left and snap them together. To delete a block, drag it back to the list. Scroll over a number to change it.
Ctrl+Enter runs · Tab completes a half-typed word, otherwise indents four spaces · Shift+Tab unindents · Esc then Tab leaves the editor
Suggestions pop up as you type: ↑↓ pick, Tab or Enter takes it · Ctrl+Space shows suggestions · Ctrl+/ turns lines into comments
PYTHON TIPS
THE HERO'S TOOLS
Things and enemies
enemy.healthHow much health the enemy has left.enemy.type"ogre","brute","boss","archer","skeleton"or"warlock". Things:"gem","potion","key"or"flag".thing.x,thing.yWhere it stands on the board. x grows to the right, y grows downwards.