Skip to content

CPP Program that automatically solves any Sudoku Problem in seconds.

Notifications You must be signed in to change notification settings

reesebre82/SudokuSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SudokuSolver Version 0.0.1

C++ Program that automatically solves any Sudoku Problem in seconds.

This program uses a brute force algorithm to check all possible cases until a solution is found.

Here is the program solving a "Hard" Sudoku problem without any delays.

Here is the same problem but with a small delay to show each cycles change.

Right now, the input for the Sudoku Problem to be solved requires hard code. (this will be updated in the next iteration)

All you have to do is input the correct characters in the initialState 2D array at the top of main, compile and run.

This program also requires c++11 or later.

Use this command to compile:
g++ -o main main.cpp SudokuState.cpp -std=c++11

Use this command to run:
./main

About

CPP Program that automatically solves any Sudoku Problem in seconds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages