-
Notifications
You must be signed in to change notification settings - Fork 5
apauley/sudoku-in-erlang
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an Erlang version of a sudoku solver, mostly based on the solution by Peter Norvig. For comparison, see my slightly modified version of Norvig's Python code: https://github.com/apauley/sudoku-by-norvig To try it out, simply compile and run the sudoku script: $ ./rebar compile $ ./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. To only run the tests: $ ./sudoku runtests To solve the sample files without running tests: $ ./sudoku solve To solve a specific file (e.g. hardest.txt): $ ./sudoku solve hardest.txt
About
An implementation of Norvig's sudoku solver in Erlang
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published