Hi everybody,
for a school project I am working on a sudoku generator. In my mind I had a step plan for writing this program:
- Program solver functionality ( Finished )
- Program a function that can create random sudoku solutions ( Problem )
- Program a function that takes this random solution, removes random numbers and checks if the sudoku is still solveable. ( Not started yet )
I have tried to finish that second step, just by looping through a 81 number integer until it forms a sudoku solution, but this takes way to long.
Is there an easier way? I want a sudoku to appear within seconds, is this possible?
Please help me out,
David