Sudoku Webapp

Loading...

Description

This is a sudoku generator and solver application. It utilizes a backtracking algorithm which recursively iterates over each cell, testing the full solution. If the number chosen in the cell is incorrect, then the algorithm will try another number. If all numbers between 1-9 are incorrect, then the algorithm with returns to the cell before it and repeats the process. K is used to determine the number of cells that receive a generated value. A higher K will result in less cells receiving a generated value. It should be noted that K can not surpass 64. Also, the less numbers generated does not necessarily create a more difficult puzzle. Users can also input their own numbers as well. Things to add/fix: - There is a bug that allows for the number 9 to sometimes remain in a cell even though the algorithm has backtracked several more cells -