Commit graph

32 commits

Author SHA1 Message Date
1b91ec74ce Update to newer version of printpdf
In newer versions of rust we couldn't compile with this older package.
2021-04-09 22:44:09 -07:00
65c17741f9 Add more debug options & tweak difficulty settings 2020-10-18 15:15:40 -07:00
5c96f47765 Add option to print possibilities in generated PDF puzzles 2020-10-18 14:55:33 -07:00
8dc7954f53 Run cargo fmt 2020-09-29 13:45:48 -07:00
7d4e474731 Finish multi-threaded support for generating puzzles 2020-09-29 13:43:11 -07:00
044099379d Merge branch 'master' into multi-thread 2020-09-28 16:38:45 -07:00
235522224b Add some documentation; still needs a lot of work 2020-09-26 15:49:22 -07:00
12a3ea9eab Update .gitignore to add Cargo.lock
Recommended by the Cargo book for binary applications
2020-09-26 14:52:19 -07:00
4f2d3a6c58 Add WIP support for multi-threaded generation of puzzles
There is a bug where if a puzzle isn't found, the program never
returns; hence this is WIP.
2020-09-26 14:46:22 -07:00
98c8cfcd0d Add additional difficulty 2020-09-25 14:40:01 -07:00
b933f4c281 Difficulty settings now look for a minimum number of complicated Solve Actions 2020-09-24 15:04:43 -07:00
fa370ed9a9 Add support for setting max difficulty.
TODO is to support for min difficulty.
2020-09-24 13:48:37 -07:00
6df119d4c9 Add support for saving generated puzzles as PDFs 2020-09-23 14:07:15 -07:00
a777b6639b Fix bug where some puzzles did not have unique solutions.
Incidentally, this increased the difficulty.
2020-09-22 21:20:32 -07:00
8bba9fa3f7 Add README 2020-09-22 19:49:07 -07:00
Joel Therrien
4454fdd5d2 Merge pull request 'Add Generator' (#1) from generator into master
Reviewed-on: #1
2020-09-23 02:32:30 +00:00
7b881ff137 Add ability to specify puzzle difficulty and save result to CSV file 2020-09-22 19:30:38 -07:00
3c845aec3f Slightly improve Sudoku puzzle generator 2020-09-22 16:38:38 -07:00
42e1b72239 Add WIP sudoku puzzle generator 2020-09-22 13:50:38 -07:00
1010ac0e20 Add parsing capabilities; change to read CSV files instead of standard input 2020-09-21 17:12:30 -07:00
bcec7a8b4b Break code out into multiple files and modules 2020-09-21 16:46:59 -07:00
5d2681184c Add support for guesses; add other puzzle 2020-09-14 12:58:40 -07:00
b51d05908c Add CSV support 2020-09-13 16:10:04 -07:00
10958d2c10 Add several solving methods 2020-09-12 15:59:53 -07:00
8bc8a6c0c7 Remove old commented out code. 2020-09-09 15:47:32 -07:00
60eaca4af5 Rewrite code so that cells have reference to the row, column, and section they belong to. 2020-09-09 15:47:02 -07:00
7a61ecbcb4 Added code for removing possibilities. 2020-09-06 14:52:14 -07:00
7b1b321c42 Added unknown possibilities to print behaviour. 2020-09-06 13:12:25 -07:00
79b20a5155 Brought code up to point where it can run and fill in and print a grid. 2020-09-06 12:29:42 -07:00
3d038ab84e WIP - Add initial code using arrays. 2020-09-01 18:16:17 -07:00
2e41f91221 Add Cargo.toml 2020-09-01 18:15:49 -07:00
fc7732cab4 Setup .gitignore 2020-09-01 18:14:55 -07:00