6.4.5 Checkerboard Karel Answer

turnRight(); if (frontIsClear()) move(); turnRight();

If a row has an odd number of columns, the last beeper lands exactly on the last corner. If even, the last beeper is one step before the end. Our fillRow() function handles both because it only moves two steps when it confirms frontIsClear() . 6.4.5 checkerboard karel answer