0.0
No commit activity in last 3 years
No release in over 3 years
set of classes to solve sudoku
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Sudoku solver

It's a tool written in ruby which was created to solve sudoku. You can use it as a library or with a command line.

Instalation

gem install sudoku-solver

Usage

If you want to use it on Ubuntu you should add path to folder with gems' executable files (I really don't know why it isn't set by default):

export PATH=$PATH:/var/lib/gems/1.8/bin

Now you can use it by typing:

solve-sudoku file

A file parameter must be a correct path to file containing sudoku and should look like this:

+---+---+---+
| 6 |   | 2 |
|   |   |73 |
|  8| 5 |6  |
+---+---+---+
| 9 |5  |  4|
| 5 |3 8| 7 |
|4  |  9| 1 |
+---+---+---+
|  6| 1 |2  |
| 31|   |   |
| 7 |   | 4 |
+---+---+---+

If you want to use this program as library, please check source of an executable file.