Giter Club home page Giter Club logo

Comments (6)

t-dillon avatar t-dillon commented on June 19, 2024 1

The closest thing tdoku has to puzzle rating is the guess count reported by its generator. If you tell it to look for puzzles that require few guesses by passing -g-1 it will converge on puzzles that require only easy techniques. That said, you'll get much better developed and human-aligned ratings from tools like Sudoku Explainer (http://forum.enjoysudoku.com/sudoku-explainer-t39865.html), so you may prefer to generate puzzles however you like and then filter them by evaluating with SE.

from tdoku.

t-dillon avatar t-dillon commented on June 19, 2024

Hi Ashish,

To build with brew-installed minisat on osx you can try adding these lines to CMakeLists.txt:

include_directories("/usr/local/include")
link_directories("/usr/local/lib")

To generate some hard puzzles you might run like this:

build/generate -c0 -g1 -d1 -e20 -n100 -p0 -s1

And if you also prefer to drive towards low-clue or high-clue puzzles you might change to -c1 or -c-1 respectively.

But bear in mind that this generator drives towards a notion of difficulty that doesn't always agree with human perceived difficulty (even if it's pretty well correlated). Consider using a separate rating tool to evaluate the generated puzzles if you want a rating that aligns with convention.

from tdoku.

afkcodes avatar afkcodes commented on June 19, 2024

Tried adding those lines, it got built successfully now and yeah i am checking the sudoku with multiple rating tools to confirm the difficulty. you are just awesome. Thanks.

from tdoku.

afkcodes avatar afkcodes commented on June 19, 2024

All things are great thanks Tom closing this, you are just awesome.

from tdoku.

afkcodes avatar afkcodes commented on June 19, 2024

@t-dillon came back here, just wanted to know how can i generate pretty easy puzzles so that a 10 year kid can play it easily. Any help would be a great.

from tdoku.

afkcodes avatar afkcodes commented on June 19, 2024

Thanks i am using Sudoku explainer already to rate but the command i was trying was giving some insane puzzles :)

from tdoku.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.