Skip to content

pratyaksh52/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Puzzle Solver

A python script that solves any given sudoku puzzle.

Pre-requisites

Python must be installed on your machine.

Usage

  1. Type in a sudoku puzzle in input.txt with blank values as 0. Use spaces to separate the values, go to a new line to separate rows. Eg.
8 0 0 4 7 3 0 0 0
0 2 6 8 5 1 0 9 0
0 0 5 0 0 0 8 0 0
0 1 3 0 0 8 4 0 0 
6 0 7 3 0 2 9 0 0
0 5 0 0 9 7 6 0 8
0 6 2 7 3 0 5 0 0
0 3 0 2 0 0 7 0 6
4 0 0 6 0 0 0 2 0

Here, 0 are the blank spaces.

  1. Run run.py in the terminal/command prompt.

About

A sudoku puzzle solver.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages