Deviopath › Karel

Double Trouble

Hard · Variables

Every pile of balls in the row should become twice as big: 1 ball becomes 2, 3 balls become 6. Empty squares stay empty.

Your code runs in several worlds. Count the balls on a square with a variable, then put down twice that many.

Next: Jump the Hurdles