gruesome 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -21,10 +21,26 @@ play version 3 games such as the ZORK trilogy.
21
21
  ## Currently implemented
22
22
 
23
23
  * Majority of version 3 Z-Machine (Enough to play most games)
24
+ * WARNING: Save and Restore are not implemented!!!!! Don't get eaten by a grue!
25
+
26
+ ## To play
27
+
28
+ Install Gruesome
29
+
30
+ $ gem install gruesome
31
+
32
+ Download ZORK
33
+
34
+ $ wget http://zmpp.sourceforge.net/games/zork1.z3
35
+
36
+ Play!
37
+
38
+ $ gruesome play zork1.z3
24
39
 
25
40
  ## Next
26
41
 
27
42
  * Versions 4+ (Goal: Run Photopia)
43
+ * The ability to download and list stories from a repository.
28
44
 
29
45
  ## Overall Goals
30
46
 
@@ -1,3 +1,3 @@
1
1
  module Grue
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -17,7 +17,7 @@ module Gruesome
17
17
 
18
18
  # I. Create memory space
19
19
 
20
- memory_size = file.size
20
+ memory_size = File.size(game_file)
21
21
  @memory = Memory.new(file.read(memory_size))
22
22
 
23
23
  # Set flags
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dave Wilkinson