vg_tools 0.1.1 → 0.1.2
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.rb +2 -2
- data/lib/vg_tools/version.rb +1 -1
- 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: 87396831c322cc1ab251c8d74c6782aec2cc0467
|
4
|
+
data.tar.gz: ced3b9c46f391e8c72ad720279226851e2189462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8169af4836edf7f9bef8da356f966717c66f41435fdc620728a4d22adea11360334b821aa23b3229be0d910b7fcd9ef6f97a4fb1ffb62ee1cce15e2f1e3fd3c
|
7
|
+
data.tar.gz: db7de35034765ea04daedbe09a970fe30786fa371da25521847917e495e22da452e4f05574de1915a806f6310a9e4c7442178a120262488228515881ca42b17d
|
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] || "$ ".pink
|
30
|
+
@target = options_hash[:target] || "@ ".pink
|
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])
|
data/lib/vg_tools/version.rb
CHANGED