Deviopath › Karel

Measure the Room

Hard · Variables

How many squares does the room have? Find out, then put a pile with exactly that many balls on the bottom-left square and finish there.

Your code runs in rooms of different sizes. Hint: count the steps along the bottom wall and up the side wall with two variables.

Next: Mountain Climb