[2005] Making a sudoku game...*Progression Thread*
Hello,
Well as you can see new to the forums etc... so hey! :thumb:
Erm, well I am a NOOB to vb.net, not done any programming before etc.. however I am doing the video tutorials on the microsoft website at the moment.
I have been given the task from a friend of mine to create a Sudoku game. (For him to play lol). He is a good friend etc.. so dont flame him as it is hard to do I believe.
What are your tips? Any help etc... What are the maths behind it etc..
He wants a progress report on Sunday.. :( :o
Well a flowchart to be exact on my plan...
Any tips? Btw, Im doing the game, not the solver.. I did search :thumb:
Re: [2005] Making a sudoku game...*Progression Thread*
I'd imagine it'd be best to start with a sudoku solver...
As for a sudoku generator, you can you a switch method to generate lots of possibilities from one input puzzle. So start by getting a puzzle of the desired level from somewhere (newspaper... internet... whatever).
To make a new puzzle, switch the rows around (so, having rows 1-9, randomise the order (eg 3,6,8,4,7,2,9,1,5)). Do the same for columns. Finally, the numbers 1-9 can be switched, so randomise those (eg 1 becomes 5, 2 becomes 3 etc). This will give you another sudoku puzzle of the same difficulty as the input sudoku.
To make it more random, add more puzzles as input (possibly with different levels). My dad did the whole program in excel. Good stuff :)
Re: [2005] Making a sudoku game...*Progression Thread*
My dad wrote a Java Applet Soduko Helper (not solver), he also published a lot of the theory behind how it works it on the webpage. I hope you find it of some use.
http://www.ellerton.demon.co.uk/sudoku.htm
Re: [2005] Making a sudoku game...*Progression Thread*
Well, my dad did that as well, but he started from a solver and used the logic from that to develop the helper...
Seems to be a dad thing, these sudoku programs :)
Re: [2005] Making a sudoku game...*Progression Thread*
Have any of your "dads" ;) Made a suduko game?
Re: [2005] Making a sudoku game...*Progression Thread*
I doubt many dads can do that. Here is why.
Re: [2005] Making a sudoku game...*Progression Thread*
Quote:
Originally Posted by Half
I doubt many dads can do that.
Here is why.
Most of that shows the statistsical variability of a Su Doku occuring without use of the theory.
Writing a Su Doku game in VB wouldnt be too difficult as long as you incorporate the rules and theory correctly.
Re: [2005] Making a sudoku game...*Progression Thread*
Jup, grasp that and become a dad :)
Re: [2005] Making a sudoku game...*Progression Thread*
I can think of more advanced maths to do. :rolleyes: