tuomas-knights_tour 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/README.rdoc +5 -6
- data/lib/knights_tour.rb +1 -1
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -20,10 +20,9 @@ The software is compatible with Ruby 1.9.1.
|
|
20
20
|
|
21
21
|
== Usage
|
22
22
|
|
23
|
-
|
24
|
-
root directory and enter
|
23
|
+
Enter
|
25
24
|
|
26
|
-
$
|
25
|
+
$ knights_tour
|
27
26
|
|
28
27
|
The command attempts to solve the problem on a board of size 8x8, the knight
|
29
28
|
located initially at position 0,0 (the top-left corner). If the program
|
@@ -47,10 +46,10 @@ finds a solution, it displays a result similar to the following:
|
|
47
46
|
| 52| 17| 20| 9| 56| 47| 22| 7|
|
48
47
|
+---+---+---+---+---+---+---+---+
|
49
48
|
|
50
|
-
The size of the board and the start position of the knight are configurable
|
51
|
-
For all the options, see
|
49
|
+
The size of the board and the start position of the knight are configurable,
|
50
|
+
however. For all the options, see
|
52
51
|
|
53
|
-
$
|
52
|
+
$ knights_tour -h
|
54
53
|
|
55
54
|
== Contacting
|
56
55
|
|
data/lib/knights_tour.rb
CHANGED