
I were able to manipulate it to solve some larger size (25X25 max with bitarray if i change it to normal one it will be slower but can be applied to more larger sudoku), I must say that the algorithem is not complete and can use backtracking instead of exception throw, better use backtracking on random genareted cells. Return Math.floor(returnRow(cell) / 3) * 3 + Math. A Sudoku algorithm with 4 deterministic strategies to avoid backtracking.

given a sudoku cell, returns the 3x3 block given a sudoku cell, returns the column You can start with an empty Sudoku, so it will generate a random one, or populate sudoku array to have it solved.

Several years ago I already showed you a Sudoku generator/solver using PHP and another using AS3, today I am showing you the JavaScript version because I am going to create a visual Sudoku game using some popular frameworks.
