Giter Club home page Giter Club logo

sudoku-sat-solver's Introduction

SAT Based Sudoku Solver in Python

A project to solve sudoku problem based on Boolean Satisfiability (SAT) solver.

The sudoku problems are generated from http://websudoku.com

Basially what the program does are:
1. Reduces Sudoku problem to a SAT clauses
2. Solve the SAT clauses using python SAT Solver (https://pypi.python.org/pypi/pycosat)
3. Show the Sudoku answer

Usage

python sudoku.py --easy #easy level sudoku problem

python sudoku.py --medium #medium level sudoku problem

python sudoku.py --hard #hard level sudoku problem

python sudoku.py --evil #extra hard level sudoku problem

sudoku-sat-solver's People

Contributors

tardhinata avatar

Stargazers

JanStern avatar  avatar Simone Cassetta avatar KAMLA WAHID avatar Haowei Hsu avatar  avatar Victor Muñoz avatar Hu XinYu avatar  avatar Jan Vandepitte avatar Dennis Ulmer avatar Mircea Mironenco avatar Fariz Darari avatar

Watchers

 avatar  avatar

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.