Drag blocks into the program (or tap one to add it). Drag a block back here to delete it.
PROGRAM
HOW TO PLAY
Build a program, then press RUN. Joey does each block in order.
Hop moves one cell. Jump rises up to 5 cells and Joey hangs at the peak, so hops stay level until you use Land (or Jump again).
Kick hits the cell Joey faces. A kicked bat vanishes in a puff.
Pick up takes a gem from Joey's cell or the cell he faces. Drop puts the first gem of the pouch into a basket there. Baskets only accept their own colour.
Sort reorders the pouch. Repeat loops the blocks inside it and can be nested.
The door opens once every basket holds its gem. End the program standing in the doorway.
You lose if Joey touches a bat, falls more than 6 cells, or ends with the door closed or without being at it.
MAP EDITOR
Click or drag to paint. Right-click erases. Yellow lines mark the 15x15 viewport blocks.