for x = 0 to width for y = 0 to height if x mod 2 == y mod 2 draw square at x, y Instant easy checkerboard!