0
How do you make a 8x8 chess board (beginner)
5 odpowiedzi
+ 7
Look at @ValentinHacker's codes. There's a chess board there.
0
This would be a simple nested for loop for the display.
sideSize = 8;
for (var x = 0; x < sideSize; x++){
for (var y = 0; y < sideSize; y++){
//code to display square here
}
}
However the easiest for a Web page would really just be a html table.
0
Thanks to all that helped