|
-
Jul 26th, 2006, 05:43 PM
#1
Thread Starter
New Member
-
Jul 26th, 2006, 06:11 PM
#2
Hyperactive Member
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
-
Jul 26th, 2006, 07:48 PM
#3
Addicted Member
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
-
Jul 26th, 2006, 08:33 PM
#4
Hyperactive Member
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
-
Jul 27th, 2006, 06:03 AM
#5
Thread Starter
New Member
Re: [2005] Making a sudoku game...*Progression Thread*
Have any of your "dads" Made a suduko game?
-
Jul 27th, 2006, 07:45 AM
#6
Re: [2005] Making a sudoku game...*Progression Thread*
I doubt many dads can do that. Here is why.
-
Jul 27th, 2006, 08:11 AM
#7
Addicted Member
Re: [2005] Making a sudoku game...*Progression Thread*
 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.
-
Jul 27th, 2006, 08:51 AM
#8
Re: [2005] Making a sudoku game...*Progression Thread*
Jup, grasp that and become a dad
-
Jul 27th, 2006, 09:17 AM
#9
Addicted Member
Re: [2005] Making a sudoku game...*Progression Thread*
I can think of more advanced maths to do.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|