var square = new Rectangle(50,50); square.setPosition(x,y); square.setColor("red"); // Missing: add(square);
The core of this challenge lies in understanding how to access specific elements in a list of lists and applying a mathematical condition to alternate values. The Core Logic: The Modulo Operator 9.1.7 Checkerboard V2 Codehs
Do not just print the lists manually. The autograder looks for the use of the board[i][j] = 1 assignment statement. var square = new Rectangle(50,50); square
Ensure both loops run exactly from range(8) to avoid errors when accessing the 8x8 grid. var square = new Rectangle(50