tttazures 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/board.rb +0 -4
- data/lib/two_dimensional_board.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ada936361632135c2066aea591b612b3339c96de
|
4
|
+
data.tar.gz: e3559ade1676ce2c03a834617342e06158bc102d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d166667c05b6e75511bab7f7ee3e081455a66af5ff901ae7f1a9252a2ab8016171080c5ee081f843db768cc887d7d0e6767c7b9702aa0d3c7c1e7b8bb96c1e6
|
7
|
+
data.tar.gz: 22175d76cec84bbcaf4c7daad28a52dcf09d09def4f5cc28ff37267561a4b9478f0d4dbdb78e393415dbe3539028b4a493ebaa93294104407fa2694736baf756
|
data/lib/board.rb
CHANGED
@@ -3,8 +3,6 @@ class Board
|
|
3
3
|
attr_reader :row_length
|
4
4
|
|
5
5
|
def get_print_results
|
6
|
-
#row length d because
|
7
|
-
#it is needed to show correct 2d version of @board_array array
|
8
6
|
[@board_array, @row_length]
|
9
7
|
end
|
10
8
|
|
@@ -31,8 +29,6 @@ class Board
|
|
31
29
|
return true else return false end
|
32
30
|
end
|
33
31
|
|
34
|
-
|
35
|
-
|
36
32
|
#deprecated, write tests for board_is_full?
|
37
33
|
def check_for_tie
|
38
34
|
if @board_array.include?(:open) then return :continue_game else return :tie end
|