A simple sudoku solver written in Swift, ported from magicant/sudoku-solver-in-cpp.
- Open sudoku.xcodeproj in Xcode
- Archive "sudoku"
- Export the archive from Organizer
- Run the "sudoku" binary
$ path/to/sudoku <<END
> 1 0 0 4 0 0 7 0 9
> 0 5 0 7 8 0 0 2 0
> 7 0 9 0 2 3 0 0 6
> 3 0 0 6 0 0 0 0 0
> 6 4 0 0 7 0 0 1 2
> 9 0 8 0 0 2 0 4 5
> 2 3 0 5 0 4 8 0 0
> 0 6 0 0 9 0 0 3 0
> 8 0 7 0 0 1 0 6 4
> END