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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3110d4e19b7e5ff4ec803556f74d5f49f0f114fa
4
- data.tar.gz: b187b3ac11046682d032d0d03329cb378717e86a
3
+ metadata.gz: 7fb5bcd71a9052bce06a659f909b3b3dda5fc08e
4
+ data.tar.gz: 854f3a856b19c114b9767d16938909aaa7d5fc7b
5
5
  SHA512:
6
- metadata.gz: e0c6180ca24e298f90c6ce25d0c4fb21fda0238d429cba618597f4e43ef05eac78ae7bab46d3c0f199b89abfb5c0f00474cecc671bd21b55bb45a15e43b2b496
7
- data.tar.gz: 8bdfaaaf11c70adf609abb164204b7ea45a113b8c6d09f59bb4d1f7e3e0539d3be842e911e84bdbd91b8b5900ce9dd98907d53c37f1243c2b094362f4ec8e7b3
6
+ metadata.gz: 8a5589f877bdb4d136be468c8d6da003f5a3955d0b351b7aa07a10039b52e1692c1ce63d027e2b46ef4cac89e512bac558890f0914bb7a57724ac45243bc36ac
7
+ data.tar.gz: 7d5042edc0ff1f4c51efa853c8261e2010a5f705578eea006c18b086538b414d80970ffbee76bb62aa9e4c1fae3adb94700f80af70972dadfc8da116ef71d273
@@ -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
- if ARGV.include?('--help') || ARGV.include?('-h')
15
+ elsif ARGV.include?('--help') || ARGV.include?('-h')
16
16
  print_help
17
17
  exit(0)
18
- end
19
18
 
20
- if ARGV.include?('--manual')
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
- print_help
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
@@ -1,4 +1,4 @@
1
1
  module WizardsCastle
2
- VERSION = "0.0.4"
3
- VERSION_DATE = "2016-08-12"
2
+ VERSION = "0.0.5"
3
+ VERSION_DATE = "2016-08-16"
4
4
  end
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
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-12 00:00:00.000000000 Z
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