Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.
/ Insight-Sudoku Public archive

A Sudoku puzzle solver in python created for the Insight Data Engineering Fellows Program

Notifications You must be signed in to change notification settings

josecolella/Insight-Sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Insight Sodoku

A commandline sodoku solver for the Insight Data Engineering Fellows Program

Coding Deadline: November 3rd at 11pm

Command line program

I have chosen python3 as my primary development language, and I have built a simple command line program that allows the user to input csv files that contain a sudoku puzzle and solves the puzzle. The user can specify whether to save the solution in a CSV file or redirect to the stdout.

"Command line program"

The command line program allows the user two options: - To input the sudoku puzzle from a csv file and output the results to a csv file - To input the sudoku puzzle from a csv file and output to the standard output

For the first option, interacting with the command line can be as follows:

python3 main.py -i sudoku.csv -o solution.csv -v

"Result of fileoutput"

A solution.csv file is created in the directory containing the solution

For the second option, interacting with the command line can be as follows:

python3 main.py -i sudoku.csv -v

"Result of stdout"

Execute tests

Test cases have been created for three different sudoku puzzles. These cases can be found in the test directory

cd test

To execute tests

python3 test.py

About

A Sudoku puzzle solver in python created for the Insight Data Engineering Fellows Program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages