This commit is contained in:
2026-06-05 14:20:55 +03:00
commit 28b7f01009
12 changed files with 135 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
const grid = [];
const cells = 64;
let counter = 0;
let row;
for (let x = 0; x < cells + 1; x++) {
if (counter % 8 == 0) {
if (row != undefined) {
grid.push(row);
} row = [];
}
counter++;
let temp = counter;
row.push(temp);
}
console.table(grid);