Menu

Difficulty Levels

minou6
2006-02-11
2013-03-22
  • minou6

    minou6 - 2006-02-11

    Hi, thanks for you works !
    I use your library to develop a command line tool for auto-sudoku generation. So, I don't use the graphical gui classes.
    I've a question : what do you think about the real level of the 4 difficulty levels ?
    It seems it's harder than lots of other sudoku in websites (I base my observation with the solver.difficulty read for others sudoku generators).
    And I don't try to resolve grids himself (i'm not sudoku expert).

    So do you think this difference is just a subjective measure or levels are really hard ?

    Thanks a lot for your help and I hope finish my generator to include it on the project.

     
    • victor

      victor - 2006-02-13

      Hi,

      the difficulty levels are based on the tactics you have to use to solve it, no brute force.
      I have programmed several tactics, from easier to harder (from my point of view), and I apply them trying to use firts the easiest, if it is not posible to continue, the next harder, and so on.  The resulting difficult level depends on which tactics you have to use and how hard they are.
      So for example, a game is 'easy' if you can solve it using the easiest tactic, just scanning cells and checking which ones have only a posible value.

      If you need help to use my classes, just ask me. In the last version I'm going to release I have separated a little better the classes.  You probably need to use Game, GameGenerator and Solver.

      Regards

       
    • minou6

      minou6 - 2006-02-25

      Thanks a lot, I use Game, GameGenerator and Solver and all work fine. The grid are a good quality, I just modify some values in GameGenerator to adapt difficulty for my grids.

      You're lib are the easiest I've tried and with very good quality.

      Do you think sometimes to add the possibility of generate and solve 4x4 grids or 16x16 ?

       
    • victor

      victor - 2006-03-01

      I'm still working on that classes, they are changing a little bit.  Recently I added 2 more strategies, but I haven't publish it yet.
      About extending sudoku to other grid, before I prefer to do other basic things in the 'classic' game.  There is still a lot of work. But it would be posible.
      In the current version there is also an option to get the 'estimated' difficulty after generating the game, it could be also useful for you.  Because is different the difficult you want and what you get.

      When you have a working version of your tool, let me try it, just curiosity.

      Regards,
      victor

       

Log in to post a comment.