9.1.6 Checkerboard V1 Codehs Jun 2026
for row from 0 to 7: for col from 0 to 7: x = col * square_size y = row * square_size if (row + col) % 2 == 0: color = RED else: color = BLACK draw square at (x, y) with size square_size, fill color
(B = beeper, . = empty)