sudokusolver 1.2 → 1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sudokusolver.rb +2 -2
- metadata +2 -2
data/lib/sudokusolver.rb
CHANGED
@@ -11,10 +11,10 @@
|
|
11
11
|
## d is a digit, e.g. '9'
|
12
12
|
## u is a unit, e.g. ['A1','B1','C1','D1','E1','F1','G1','H1','I1']
|
13
13
|
## g is a grid, e.g. 81 non-blank chars, e.g. starting with '.18...7...
|
14
|
-
## values is a hash of possible values, e.g. {'A1'
|
14
|
+
## values is a hash of possible values, e.g. {'A1'=>'123489', 'A2'=>'8', ...}
|
15
15
|
|
16
16
|
class SudokuSolver
|
17
|
-
VERSION = "1.
|
17
|
+
VERSION = "1.3"
|
18
18
|
attr_reader :rows, :cols, :squares, :unitlist, :peers, :units
|
19
19
|
|
20
20
|
def cross(a, b)
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: sudokusolver
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "1.
|
7
|
-
date: 2007-04-
|
6
|
+
version: "1.3"
|
7
|
+
date: 2007-04-15 00:00:00 -04:00
|
8
8
|
summary: Commandline program and library for solving Sudoku puzzles
|
9
9
|
require_paths:
|
10
10
|
- lib
|