vg_tools 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vg_tools/version.rb +1 -1
- data/lib/vg_tools.rb +2 -2
- 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: 8f79f20586b1485339daad331a6cf47126241907
|
4
|
+
data.tar.gz: c5d442a396ec3ebeb96e54abab5216bedf87edde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e47e908bc72851f84d37dbf5760e482feda6205e149f96c62437c0091cbdd6226a143cdcfc0b0981f150c6ef3154e57e6f616fc85e4bf31385b63630a66d3fde
|
7
|
+
data.tar.gz: 773eec81e9c3307ebe5a89398d64f003c49b8fe5a4e63bd37bdd76db6f33c5dd7381d69786b76288f57cb5e5f603c35df092253f92a8e63d992278462dc6fc51
|
data/lib/vg_tools/version.rb
CHANGED
data/lib/vg_tools.rb
CHANGED
@@ -26,8 +26,8 @@ class Maze
|
|
26
26
|
def initialize(options_hash={})
|
27
27
|
extend CheckingMethods unless options_hash[:checking_methods] == false
|
28
28
|
extend MoveMethods unless options_hash[:move_methods] == false
|
29
|
-
@character = options_hash[:character] || "🚶
|
30
|
-
@target = options_hash[:target] || "🍪
|
29
|
+
@character = options_hash[:character] || "🚶"
|
30
|
+
@target = options_hash[:target] || "🍪"
|
31
31
|
@current_square = options_hash[:starting_player_location] ? check_coordinates("player", options_hash[:starting_player_location],options_hash[:map]) : [1,1]
|
32
32
|
@target_location = options_hash[:target_location] ? check_coordinates("target", options_hash[:target_location],options_hash[:map]) : [7,11]
|
33
33
|
@map = build_map(options_hash[:map])
|