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.c
create.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
/colorsudoku
were 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.js
is installed- to check if you have
node
, in terminal typenode -v
- if no version exists,
brew install node
for mac users or just download it from the internet for windows users
- to check if you have
- cd into
colorsudoku
folder - run
npm install
to install the/node_modules
folder - run
npm start
to host the app locally in your browser!