GithubHelp home page GithubHelp logo

srinidhiraghavan / ai-sudoku Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 15.0 40 KB

Solving sudoku puzzle using backtracking and AC-3

Python 100.00%
constraint-satisfaction-problem python artificial-intelligence backtracking-algorithm sudoku-puzzle

ai-sudoku's People

Contributors

srinidhiraghavan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ai-sudoku's Issues

Multiple values in some cells

Hi!

Thanks for sharing your code! I am trying to run and although it is executed without error, most of the times the number that is printed out is bigger than 81. When I checked the dictionary of the csp it turns out that some keys have more than one values. I am trying to debug it but I have not found anything yet. Do you have any ideas?

Thanks in advance!

PS: this is what happens
'C6': '3',
'C7': '78',
'C8': '9',
'C9': '7',
'D1': '4',
'D2': '5',
'D3': '56',
'D4': '8',
'D5': '3',

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.