12:30 pm
Marc
javascript:for (i=1; i<=9; i++) {for (j=1; j<=9; j++) {if (grid[i][j].value == '') {ClearTinySquares(i,j);}}}for (i=1; i<=9; i++) {for (j=1; j<=9; j++) {if (grid[i][j].value != '') {var tmp_value = grid[i][j].value;for (k=1; k<=9; k++) {for (l=1; l<=9; l++) {if (grid[k][l].value == '') {if ((Math.ceil(i/3) == Math.ceil(k/3) && Math.ceil(j/3) == Math.ceil(l/3)) || i == k || j == l) {grid[k][l]['mini'][tmp_value] = -1;}}}}}}}for (i=1; i<=9; i++) { for (j=1; j<=9; j++) { if (grid[i][j].value == '') { for (k=1; k<=9; k++) { if (grid[i][j]['mini'][k] != -1) grid[i][j]['mini'][k] = 1; }}}}for (i=1; i<=9; i++) {for (j=1; j<=9; j++) {if (grid[i][j].value == '') {for (k=1; k<=9; k++) {if (grid[i][j]['mini'][k] != 1) grid[i][j]['mini'][k] = 0;}}}}PopulatePuzzle(grid);void(0);
12:31 pm
Marc
Sorry did not mean to do that
6:57 pm
SamanthaJoy
One day I'm going to figure out how to use that.