Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Pauley committed Mar 25, 2011
1 parent 6039081 commit c33e19e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.txt
Expand Up @@ -6,10 +6,15 @@ https://github.com/apauley/sudoku-by-norvig
To try it out, simply run the sudoku script: To try it out, simply run the sudoku script:
$ ./sudoku $ ./sudoku


The solution for file.txt will be saved as file.out in your current directory.

You will need to have Erlang installed with escript in your path. You will need to have Erlang installed with escript in your path.


To only run the tests: To only run the tests:
$ ./sudoku runtests $ ./sudoku runtests


To solve the sample files without running tests: To solve the sample files without running tests:
$ ./sudoku solve $ ./sudoku solve

To solve a specific file (e.g. hardest.txt):
$ ./sudoku solve hardest.txt

0 comments on commit c33e19e

Please sign in to comment.