Sudoko puzzle Problem

Hello All,

Back here with a new problem…

i need to create SUDOKU with 9x9 grid and 9 different colors.
but i don’t have any idea,that how to start with the game.

can any one provide me some code or idea to start my game development.
i want the colors should fill randomly in the game,so that player can play the game as many times as he like to…

i also can not find any idea about how to create the puzzle, so that every puzzle generated must be solvable.

Thanks for the help
Niki.j

Sudoku puzzle creation is a very complex problem with a ton of logic. There are plenty of sites out there that already discuss it in detail.

Here’s a blog post that claims to do it simply. http://dryicons.com/blog/2009/08/14/a-simple-algorithm-for-generating-sudoku-puzzles/

As for the game board, I’d just make a cube prefab with a texture that was just a black frame with a white center, for each side, and use a shader that lets you set the overall color of the texture. Then you can set the cube’s color any time you want. Put 81 of them in a square in the scene and you’ve got a sudoku board.

Hello…

Thanks you very much for the link and the idea…
i am just going through the link you provided…

Niki.j