Sudoku Banana
Distinctly banana.
Creates and solves sudoku puzzles in nxn dimensions.
Terminal run with arguments: java SudokuSolver <int:a> <int:b> <int:c>
One can use the program with as many inputs as desired.
No arguments will make 1 puzzle of 9x9 dimensions with space factor 2.
int:a
: dimension of puzzle (must be a perfect square)
int:b
: number of puzzles to create and try to solve
int:c
: space factor or proportion of spaces compared to hints on initial puzzle
My hint algorithm doesn't always made valid sudokus, so the program will run and give a success rate and show completed puzzles. Kind of cool and I might add to this down the road.
This code is horrendous and is not to be surveyed by the faint of heart.