Deviopath › Karel

House Numbers

Hard · Variables

Karel is numbering the houses on the street. A house is a square in the bottom row with a wall piece right above it. The first house gets 1 ball, the second house gets 2 balls, the third gets 3, and so on.

Your code runs in several worlds, and the houses are in different places each time. Finish at the end of the street.

Hint: keep the next house number in a variable. When Karel faces east, the wall above it is on its left.

Next: Follow the Signs