scottkit 0.4.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +1 -1
- data/ChangeLog.md +50 -0
- data/{GPL-2 → GPL-2.txt} +0 -0
- data/README.md +100 -0
- data/Rakefile +4 -3
- data/VERSION +1 -1
- data/bin/scottkit +1 -2
- data/data/crystal/crystal.solution +4 -0
- data/data/{dan-and-matt.sck → dan-and-matt/dan-and-matt.sck} +0 -0
- data/data/{dan-and-matt.solution → dan-and-matt/dan-and-matt.solution} +0 -0
- data/data/test/Makefile +1 -1
- data/data/test/adams/Makefile +1 -1
- data/data/test/crystal.decompile +20 -20
- data/lib/scottkit/compile.rb +8 -3
- data/lib/scottkit/decompile.rb +2 -2
- data/lib/scottkit/game.rb +1 -1
- data/lib/scottkit/play.rb +7 -8
- data/manual/reference.md +904 -0
- data/notes/{Definition.saved-game → Definition-saved-game.txt} +0 -0
- data/notes/{Definition.scottfree-1.14 → Definition-scottfree-1.14.txt} +0 -0
- data/notes/{Definition → Definition.txt} +0 -0
- data/notes/adventureland-maze +2 -0
- data/test/withio_test.rb +1 -1
- metadata +39 -59
- data/.gitignore +0 -4
- data/Changes +0 -26
- data/README +0 -76
File without changes
|
File without changes
|
File without changes
|
data/notes/adventureland-maze
CHANGED
data/test/withio_test.rb
CHANGED
metadata
CHANGED
@@ -1,37 +1,29 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: scottkit
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 0
|
9
|
-
version: 0.4.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
10
5
|
platform: ruby
|
11
|
-
authors:
|
6
|
+
authors:
|
12
7
|
- Mike Taylor
|
13
8
|
autorequire:
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2010-03-01 00:00:00 +00:00
|
18
|
-
default_executable: scottkit
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
19
12
|
dependencies: []
|
20
|
-
|
21
|
-
|
13
|
+
description: ScottKit is a toolkit for compiling, decompiling and playing adventure
|
14
|
+
games in the Scott Adams format.
|
22
15
|
email: mike@miketaylor.org.uk
|
23
|
-
executables:
|
16
|
+
executables:
|
24
17
|
- scottkit
|
25
18
|
extensions: []
|
26
|
-
|
27
|
-
|
28
|
-
- README
|
29
|
-
files:
|
30
|
-
- .
|
31
|
-
- .
|
32
|
-
-
|
33
|
-
-
|
34
|
-
- README
|
19
|
+
extra_rdoc_files:
|
20
|
+
- ChangeLog.md
|
21
|
+
- README.md
|
22
|
+
files:
|
23
|
+
- ".yardopts"
|
24
|
+
- ChangeLog.md
|
25
|
+
- GPL-2.txt
|
26
|
+
- README.md
|
35
27
|
- Rakefile
|
36
28
|
- VERSION
|
37
29
|
- bin/scottkit
|
@@ -42,8 +34,8 @@ files:
|
|
42
34
|
- data/crystal/crystal.map
|
43
35
|
- data/crystal/crystal.sck
|
44
36
|
- data/crystal/crystal.solution
|
45
|
-
- data/dan-and-matt.sck
|
46
|
-
- data/dan-and-matt.solution
|
37
|
+
- data/dan-and-matt/dan-and-matt.sck
|
38
|
+
- data/dan-and-matt/dan-and-matt.solution
|
47
39
|
- data/howarth/.gitignore
|
48
40
|
- data/howarth/Makefile
|
49
41
|
- data/howarth/mysterious.tar.gz
|
@@ -81,9 +73,10 @@ files:
|
|
81
73
|
- lib/scottkit/game.rb
|
82
74
|
- lib/scottkit/play.rb
|
83
75
|
- lib/scottkit/withio.rb
|
84
|
-
-
|
85
|
-
- notes/Definition
|
86
|
-
- notes/Definition
|
76
|
+
- manual/reference.md
|
77
|
+
- notes/Definition-saved-game.txt
|
78
|
+
- notes/Definition-scottfree-1.14.txt
|
79
|
+
- notes/Definition.txt
|
87
80
|
- notes/adventureland-maze
|
88
81
|
- notes/continue-action
|
89
82
|
- test/test_canonicalise.rb
|
@@ -93,41 +86,28 @@ files:
|
|
93
86
|
- test/test_playadams.rb
|
94
87
|
- test/test_save.rb
|
95
88
|
- test/withio_test.rb
|
96
|
-
has_rdoc: true
|
97
89
|
homepage: http://github.com/MikeTaylor/scottkit
|
98
|
-
licenses:
|
99
|
-
|
90
|
+
licenses:
|
91
|
+
- GPL-2.0
|
92
|
+
metadata: {}
|
100
93
|
post_install_message:
|
101
|
-
rdoc_options:
|
102
|
-
|
103
|
-
require_paths:
|
94
|
+
rdoc_options: []
|
95
|
+
require_paths:
|
104
96
|
- lib
|
105
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
107
99
|
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
114
104
|
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
- 0
|
118
|
-
version: "0"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
119
107
|
requirements: []
|
120
|
-
|
121
108
|
rubyforge_project:
|
122
|
-
rubygems_version:
|
109
|
+
rubygems_version: 2.6.11
|
123
110
|
signing_key:
|
124
|
-
specification_version:
|
125
|
-
summary:
|
126
|
-
test_files:
|
127
|
-
- test/test_canonicalise.rb
|
128
|
-
- test/test_compile.rb
|
129
|
-
- test/test_decompile.rb
|
130
|
-
- test/test_play.rb
|
131
|
-
- test/test_playadams.rb
|
132
|
-
- test/test_save.rb
|
133
|
-
- test/withio_test.rb
|
111
|
+
specification_version: 4
|
112
|
+
summary: Toolkit for Scott Adams-format adventure games
|
113
|
+
test_files: []
|
data/.gitignore
DELETED
data/Changes
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
Revision history for Ruby gem ScottKit.
|
2
|
-
|
3
|
-
0.4.0 Mon Mar 1 22:20:09 GMT 2010
|
4
|
-
* Move towards using YARD for documentation instead of Rdoc. This
|
5
|
-
includes changes to things like the format of the Changes file. Far
|
6
|
-
from perfect so far: for example, plain-text documentation like
|
7
|
-
doc/Definition gets mangled.
|
8
|
-
|
9
|
-
0.3.0 February 28, 2010
|
10
|
-
* Move ScottKit out of its sub-siubdirectory in the 9Gb "mike"
|
11
|
-
module into its own git module.
|
12
|
-
* Move repository hosting to github.
|
13
|
-
* Arrange for formatted documentation to appear at
|
14
|
-
http://rdoc.info/projects/MikeTaylor/scottkit
|
15
|
-
|
16
|
-
0.2.0 February 28, 2010
|
17
|
-
* Add -z option to sleep after finishing -- useful when running in a
|
18
|
-
DOS Shell under Windows, so that error messages can be seen.
|
19
|
-
* Add facility to load a game while playing using "#load"
|
20
|
-
|
21
|
-
0.1.0 February 28, 2010
|
22
|
-
* Add -p option to compile and play a game from source.
|
23
|
-
|
24
|
-
0.0.0 February 28, 2010
|
25
|
-
* Initial release.
|
26
|
-
|
data/README
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
ScottKit -- a Scott Adams adventure toolkit
|
2
|
-
Copyright (C) Mike Taylor <mike@miketaylor.org.uk>
|
3
|
-
Distributed under the GNU GPL, version 2 -- see file GPL-2
|
4
|
-
|
5
|
-
This is a Ruby program to compile, decompile and run adventure games
|
6
|
-
in Scott Adams format, written as an exercise in Ruby rather than with
|
7
|
-
any great expectation that it will be useful.
|
8
|
-
|
9
|
-
|
10
|
-
RUNNING SCOTTKIT
|
11
|
-
|
12
|
-
The three modes of running are:
|
13
|
-
$ scottkit -c game.sck > game.sao # compile
|
14
|
-
$ scottkit game.sao # play the game; or use scottfree game.sao
|
15
|
-
$ scottkit -d game.sao # decompile -- useful for cheating
|
16
|
-
|
17
|
-
Other command-line arguments enable wizard commands, load saved games,
|
18
|
-
set random seeds and enable various kinds of debugging output: run
|
19
|
-
scottkit -h for details.
|
20
|
-
|
21
|
-
|
22
|
-
TESTING
|
23
|
-
|
24
|
-
Unit testing can be done as follows:
|
25
|
-
|
26
|
-
$ ruby1.9 -I lib -rrake/rake_test_loader test/test_*
|
27
|
-
Loaded suite test/test_canonicalise
|
28
|
-
Started
|
29
|
-
...........
|
30
|
-
Finished in 0.769568 seconds.
|
31
|
-
|
32
|
-
11 tests, 37 assertions, 0 failures, 0 errors, 0 skips
|
33
|
-
|
34
|
-
I have verified that ScottKit can be used to play and win Scott
|
35
|
-
Adams's games #1, 2, and 4: Adventureland, Pirate Adventure and Voodoo
|
36
|
-
Castle. I welcome reports of its being used to play and win other
|
37
|
-
games, or failing that, reports of how it fails.
|
38
|
-
|
39
|
-
|
40
|
-
GAME FORMAT
|
41
|
-
|
42
|
-
The file notes/Definition.scottfree-1.14 is taken from the ScottFree
|
43
|
-
package, which contains another interpreter for Scott Adams games. I
|
44
|
-
got this file from release 1.14-9 of ScottFree. notes/Definition is my
|
45
|
-
modified version of this file. notes/Definition.saved-game is my own
|
46
|
-
analysis of the format of saved games from ScottFree.
|
47
|
-
|
48
|
-
|
49
|
-
GAMES
|
50
|
-
|
51
|
-
The directory "data" contains game files:
|
52
|
-
adams -- Scott Adams's classic games (see Makefile for details)
|
53
|
-
howarth -- Brian Howarth's games (see Makefile for details)
|
54
|
-
test -- games files used by unit-test suite
|
55
|
-
tutorial -- tiny game used in ScottKit tutorial
|
56
|
-
crystal -- Crystal of Chaos, a game written to exercise ScottKit
|
57
|
-
dan-and-matt.sck -- game written by my two eldest sons
|
58
|
-
|
59
|
-
|
60
|
-
BUG TOLERANCE
|
61
|
-
|
62
|
-
-b (--bug-tolerant) option is needed for Adventure 14b (Buckaroo
|
63
|
-
Banzai), which places one item (the jug of jet fuel) in room 50 of 36.
|
64
|
-
This is mapped to 0 (not in play), which is presumably what was
|
65
|
-
intended. None of Scott's own games is so sloppy.
|
66
|
-
|
67
|
-
|
68
|
-
STILL TO DO
|
69
|
-
|
70
|
-
* Tweak compiler to break actions when they need too many arguments as
|
71
|
-
well as when they need too many instructions.
|
72
|
-
* Write tutorial scaffolding.
|
73
|
-
* Write other documentation, e.g. reference guide.
|
74
|
-
* Ensure that the right files are built by rdoc.
|
75
|
-
* Write blog entry about learning language vs. packaging culture
|
76
|
-
|