Results 1 to 9 of 9

Thread: [2005] Making a sudoku game...*Progression Thread*

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    6

    Exclamation [2005] Making a sudoku game...*Progression Thread*

    Hello,
    Well as you can see new to the forums etc... so hey!

    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..

    Well a flowchart to be exact on my plan...

    Any tips? Btw, Im doing the game, not the solver.. I did search
    Last edited by sjohal2006; Jul 26th, 2006 at 05:53 PM.

  2. #2
    Hyperactive Member ZaNi's Avatar
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    360

    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
    * Don't limit yourself to sanity
    * I'd rather be optimistic and naive than pessimistic and right
    * Ask good questions, get good answers.

    My Codebank submissions:
    How to write one rountine to handle many events
    Accessing and Using variables across multiple forms
    Printing/Previewing a form or control

    Links I've "borrowed" from other people:
    vbdotnetboy - Awesome site for tips

  3. #3
    Addicted Member stefano5's Avatar
    Join Date
    Jul 2006
    Location
    London UK
    Posts
    131

    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

  4. #4
    Hyperactive Member ZaNi's Avatar
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    360

    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
    * Don't limit yourself to sanity
    * I'd rather be optimistic and naive than pessimistic and right
    * Ask good questions, get good answers.

    My Codebank submissions:
    How to write one rountine to handle many events
    Accessing and Using variables across multiple forms
    Printing/Previewing a form or control

    Links I've "borrowed" from other people:
    vbdotnetboy - Awesome site for tips

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    6

    Re: [2005] Making a sudoku game...*Progression Thread*

    Have any of your "dads" Made a suduko game?

  6. #6
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: [2005] Making a sudoku game...*Progression Thread*

    I doubt many dads can do that. Here is why.
    VB 2005, Win Xp Pro sp2

  7. #7
    Addicted Member stefano5's Avatar
    Join Date
    Jul 2006
    Location
    London UK
    Posts
    131

    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.

  8. #8
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: [2005] Making a sudoku game...*Progression Thread*

    Jup, grasp that and become a dad
    VB 2005, Win Xp Pro sp2

  9. #9
    Addicted Member stefano5's Avatar
    Join Date
    Jul 2006
    Location
    London UK
    Posts
    131

    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
  •  



Click Here to Expand Forum to Full Width