Hello world
Hi!
In this game you will write javascript code to color checkerboards according to specified patterns.
All the squares start out gray, and you color them by placing
"white"or
"black"in the nested array
board.
In this first problem, you are required to color the board entirely black.
Hints look like this (and will contain spoilers!)
▽
function draw_checkerboard(board) {
for (var row = 0; row < 8; row++) {
for (var col = 0; col < 8; col++) {
}
}
}
Oops!