A sudoku solver I’m working on in C that will eventually have a usable website for playing sudoky games!
A sudoku solver I’m working on in C that will eventually have a usable website for playing sudoky games!
I’ve started working on a website in SvelteKit for playing sudoku that will use the C code through web assembly to generate and solve sudoku puzzles.
It currently has:
Log in to leave a comment
I added basic random sudoku generation by creating a solved grid and removing random numbers from the grid. In the future I want to optimize this approach by making sure there is only one unique solution, so that the sudoku puzzles generated are more challenging to solve (for people and the program!). I was doing some research and found that I can adapt my solver for this by making it continue after one solution to see if there are two and returning a value if so.