a Sudoku solver written in Erlang
Erlang
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
puzzles
README.md
benchmark.erl
matrix.erl
sudoku.erl
sudoku_tests.erl

README.md

Sudoku Grinder

A Sudoku solver written in Erlang as a little finger exercise.

Sudoku Grinder

It takes a list of lists with 9 elements each. Each element has to be a number from 1 to 9 or '_' for an empty field.

sudoku:solve(Sudoku) -> {solved, SolvedSudoku}

It also reads a Sudoku from a file, see the puzzles directory for examples.

sudoku:solve_from_file('/path/to/puzzle') -> {solved, SolvedSudoku}