Sudoku Jedi

Build Status Coverage Status Gem Version

Currently solves easy to moderate sudoku puzzles in a flash! This sudoku solver implementation uses solution tactics such as naked pairs, hidden pairs, box/line reduction, and X-wing strategies for tougher puzzles. You can read about these techniques here

Installation

Add this line to your application's Gemfile:

gem 'sudoku-jedi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sudoku-jedi

Usage

Sudoku-Jedi can solve sodokus for you. All you have to do is put a sudoku in a text with zeros marked as the empty cells for example: a.txt

043080250
600000000
000001094
900004070
000608000
010200003
820500000
000000005
034090710

Then calling

sudoku-jedi solve a.txt

will result in your printed answer in the terminal.

Contributing

  1. Fork it ( https://github.com/RubyQuarry/sudoku_solver/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Questions, Concerns, Flat out mistakes? Feel free to contact me.

Contact me ([email protected])