Creating sudoku initial boards

后端 未结 7 1741
-上瘾入骨i
-上瘾入骨i 2020-12-09 18:40

Is there an algorithm or way I can get initial state sudoku puzzles for a sudoku game. Preferably with the ability to have different levels of difficulty?

7条回答
  •  情深已故
    2020-12-09 19:10

    I recently open sourced my Objective C Sudoku board generator, if you're interested...

    http://jayfuerstenberg.com/devblog/open-source-code-for-developing-sudoku-for-iphone-and-os-x

    It's obviously made for iPhone and the Mac but the logic is portable to whatever platform you happen to be developing for.

提交回复
热议问题