wizards-castle 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/wizards-castle +4 -5
- data/lib/wizards-castle/version.rb +2 -2
- 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: 7fb5bcd71a9052bce06a659f909b3b3dda5fc08e
|
4
|
+
data.tar.gz: 854f3a856b19c114b9767d16938909aaa7d5fc7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a5589f877bdb4d136be468c8d6da003f5a3955d0b351b7aa07a10039b52e1692c1ce63d027e2b46ef4cac89e512bac558890f0914bb7a57724ac45243bc36ac
|
7
|
+
data.tar.gz: 7d5042edc0ff1f4c51efa853c8261e2010a5f705578eea006c18b086538b414d80970ffbee76bb62aa9e4c1fae3adb94700f80af70972dadfc8da116ef71d273
|
data/bin/wizards-castle
CHANGED
@@ -5,19 +5,18 @@ puts "Wizard's Castle (Ruby) v#{WizardsCastle::VERSION} #{WizardsCastle::VERSION
|
|
5
5
|
|
6
6
|
def print_help
|
7
7
|
puts "Run with '--manual' for game instructions"
|
8
|
+
puts "Visit https://github.com/gbirchmeier/wizards-castle for vintage source and other info."
|
8
9
|
end
|
9
10
|
|
10
11
|
|
11
12
|
if ARGV.include?('--version') || ARGV.include?('-v')
|
12
13
|
exit(0)
|
13
|
-
end
|
14
14
|
|
15
|
-
|
15
|
+
elsif ARGV.include?('--help') || ARGV.include?('-h')
|
16
16
|
print_help
|
17
17
|
exit(0)
|
18
|
-
end
|
19
18
|
|
20
|
-
|
19
|
+
elsif ARGV.include?('--manual') || ARGV.include?('-m')
|
21
20
|
docs = File.expand_path('../../docs',__FILE__)
|
22
21
|
manual = File.join(docs,"castle.txt")
|
23
22
|
puts File.read(manual)
|
@@ -25,7 +24,7 @@ if ARGV.include?('--manual')
|
|
25
24
|
end
|
26
25
|
|
27
26
|
begin
|
28
|
-
|
27
|
+
puts "Run with '--help' to see options."
|
29
28
|
ARGV.clear # this will mess with "gets" calls if not empty
|
30
29
|
WizardsCastle::Runner.run
|
31
30
|
rescue Interrupt
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wizards-castle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Birchmeier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: "== Wizard's Castle\nA Ruby port of a classic BASIC game, this is a text-based
|
14
14
|
adventure\nthrough a randomly-generated castle full of monsters, traps, and\ntreasure.\n\nThe
|