Deviopath › Karel

Fill the Box

Easy · Functions

Fill the 3 by 3 box in the middle of the world with balls. Karel starts in its bottom-left square.

Finish drawRow to fill one row of the box, and nextRow to bring Karel back to the left side, one row higher, facing east. Then combine them to fill all 3 rows.

Next: Walk to the Wall