Skip to content

laetitiajum/Sudoku-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku-project

Solve sudokus and create new ones

In the Sudoku class, we see how to solve sudokus in a naive way. We use a simple backtracking algorithm.

In the DancingLinksSolver class, we solve sudokus in a more efficient way. We approach the problem as an exact cover problem. The CoverMatrix class defines the cover matrix, which contains all the constraints of our sudoku. In the DancingLinksSolver class, we use the dancing link technique to implement Donald Knuth’s Algorithm X.

Then, we tried several methods to create sudoku grids with the minimum number of clues at the beginning.

This project was completed during Spring 2014, by Cathleen Clop and Laetitia Jumel.

About

Solve sudoku as exact-cover problems and create new ones

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages