Skip to content

paaube/sudoku_solver

Repository files navigation

Sudoku Solver

The soduku solver is a text based program that, given a sudoku grid inside a txt file, prints the initial grid and the completed grid.

To do so, the program uses a backtracking algorithm with a recursive function.

How to use:

In the command line, use the following command:

> python sudoku_solver.py sudoku_grid.txt

The repository includes 2 sudoku grids to test the program:

  • test_sudoku_1.txt
  • test_sudoku_2.txt

The txt file contains a 9 by 9 sudoku grid where empty squares are 0. The image below shows the formatting of the txt file.

ScreenShot

Concepts:

  • Backtracking algorithm
  • Recursive functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages