sudoku must be called with make and then ./sudoku [create|solve].
To clean up files, run make clean
See TESTING.md for information about tests and how to run them.
For solver:
- Sudoku grid is inputted in the correct format - 9 rows of 9 integers separated by spaces, as seen in
testfiles/input1.txt, for example.
.gitignore- ignores filesDESIGN.md- general plan for project including UI, IO, functions, modules, pseudo code, and data structuresIMPLEMENTATION.md- specific, hardware and language-type implementation of designMakefile- see UsageREADME.md- this filecommon.c&common.c- functions used by more than one ofsudoku.c,solve.c, andcreate.ccreate.c*create.h- functions for creating a sudoku puzzlesolve.c*solve.h- functions for solving a sudoku puzzletesting.sh- fuzz testing and some specific test cases for solverunittests.h&unittestc.h- header files used for unit testingtestfiles/input*.txt- text files that store unsolved sudoku puzzled, used to test solvertestfiles/answer*.txt- text files that store sudoku solutions, used to test solver
App.js- includes all of the html elements for displaying the app, and also all of the javascript for functionality. javascript functions were adapted from oursudoku.c,solve.c, andcreate.c.App.css- all styling for elements in our react app- all other files in
/colorsudokuwere auto generated and not edited by our team
For extra credit our team made a react app where you can play sudoku, but with colors!
- make sure
node.jsis installed- to check if you have
node, in terminal typenode -v - if no version exists,
brew install nodefor mac users or just download it from the internet for windows users
- to check if you have
- cd into
colorsudokufolder - run
npm installto install the/node_modulesfolder - run
npm startto host the app locally in your browser!