Coder Social home page Coder Social logo

sudoku's Introduction

Solve Sudoku As Constraint Satisfaction Problem

Environment

  • Oracle >=JDK8

Build and Run

$ bash mvnw clean
$ bash mvnw install
$ java -jar target/sudoku-0.0.1-SNAPSHOT-jar-with-dependencies.jar

About

  • This project is managed by Maven. The mvnw files for running the Maven project are included in the project root directory (mvnw for linux and mvnw.cmd for Windows).
  • AIMA Java Core library by Ravi Mohan etc. provides the implementation of backtrack searching algorithms.
  • JavaFX, provided by Oracle, is used as the UI library.
  • Dependency library Dagger, provided by Google, is used for resolving class dependencies at the compile time.
  • SudokuApplication class sets up main UI, which provides option for selecting four pre-defined sudoku puzzles or entering your own puzzles, and option for selecting backtracking strategy. It also provides option for solving or cancelling the puzzle.
  • SudokuSolver class defines a callable task for solving the sudoku as a CSP problem. It defines CSP problem by calling SudokuCSP class, then solve it using one backtracking strategy.

sudoku's People

Contributors

lvncnt avatar

Watchers

 avatar  avatar

sudoku's Issues

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.