Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

So I've been working through the Sudoku game project using pdcurses, and then one silly thought struck me.... I don't know how to even generate a random Sudoku board! Can anyone help me?

OpenStudy (anonymous):

The text interface is coming up very nicely, but it's still buggy (first time I've used pdcurses) and I'm figuring out stuff like window resizing for example.

OpenStudy (shadowfiend):

To be honest, figuring out the algorithm to produce a proper Sudoku board is probably a good mental exercise in and of itself. I don't know for sure myself :)

OpenStudy (anonymous):

I think it would be neat to prompt the player something like "Enter a random seed" and generate a random board out of that seed, and have the bottom displaying the seed # so someone can just enter that number again to generate the same board again.

OpenStudy (anonymous):

for now I will just manually write the boards... I want to get that interface working :-D

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!