vg_tools 0.1.3 → 0.1.4
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbc2a6d9bf0c02b44fb81ac64c7cd2a6b91122df
|
4
|
+
data.tar.gz: 295c15a08829f51173483a41c5a8c598cac42ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8996eb588d51acecdbc225ecbb130149dfe35e7ec7dff555e67c277ad80745d7a50ff833f8fc7ddd2fbd24b4094876514cb9a09f1e123c0bcf0f334431a98dbb
|
7
|
+
data.tar.gz: dc91a3fc347758e78024e815ac89bd271361a311c47ea189eb317965432fcb97d6b35b082d6dabf636ee4b4ed74ba0ffc5890b9418c6f88c7dcee97b8f0bd343
|
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] || "$ ".yellow
|
30
|
+
@target = options_hash[:target] || "@ ".yellow
|
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vg_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JackMarx
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|