Deviopath › Karel

Around the Room

Medium · Functions

Put a ball on every square along the edge of the room, going all the way around, and finish back where Karel started.

Each corner should get exactly one ball, not two. Write a function for one side of the room and repeat it for all four sides. The rooms have different sizes.

Next: Carry Everything