Skip to content

Learning Rust by programming a simple Sudoku solver

Notifications You must be signed in to change notification settings

jounathaen/Sudoku_Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku_Rust

Learning Rust by programming a simple Sudoku solver

Each field in the game grid contains either the right number, or a vector of possible values at that point. The vectors with the possibilities are updated, everytime a new number is inserted in the grid.

To solve the Sudoku, at first the algorithm solves the obvous fields, where only one number is possible. After that, the algorithm tries the possibilities recoursively, thous performing a depth first search.

Example Games are taken from https://www.kaggle.com/bryanpark/sudoku/data

TODO

  • Export Sudoku as String

About

Learning Rust by programming a simple Sudoku solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages