scottkit 0.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.
Files changed (67) hide show
  1. data/.gitignore +4 -0
  2. data/GPL-2 +339 -0
  3. data/Makefile +5 -0
  4. data/README +75 -0
  5. data/Rakefile +58 -0
  6. data/VERSION +1 -0
  7. data/bin/scottkit +96 -0
  8. data/bin/scottkit.rb +96 -0
  9. data/data/.gitignore +1 -0
  10. data/data/adams/.gitignore +2 -0
  11. data/data/adams/AdamsGames.zip +0 -0
  12. data/data/adams/Makefile +18 -0
  13. data/data/crystal/crystal.map +112 -0
  14. data/data/crystal/crystal.sck +598 -0
  15. data/data/crystal/crystal.solution +82 -0
  16. data/data/dan-and-matt.sck +180 -0
  17. data/data/dan-and-matt.solution +32 -0
  18. data/data/howarth/.gitignore +2 -0
  19. data/data/howarth/Makefile +14 -0
  20. data/data/howarth/mysterious.tar.gz +0 -0
  21. data/data/test/Makefile +18 -0
  22. data/data/test/adams/Makefile +13 -0
  23. data/data/test/adams/adv01.solution +186 -0
  24. data/data/test/adams/adv01.transcript +869 -0
  25. data/data/test/adams/adv01.transcript.md5 +1 -0
  26. data/data/test/adams/adv02.solution +225 -0
  27. data/data/test/adams/adv02.transcript +970 -0
  28. data/data/test/adams/adv02.transcript.md5 +1 -0
  29. data/data/test/adams/adv04.solution +187 -0
  30. data/data/test/adams/adv04.transcript +876 -0
  31. data/data/test/adams/adv04.transcript.md5 +1 -0
  32. data/data/test/crystal.decompile +628 -0
  33. data/data/test/crystal.sao +373 -0
  34. data/data/test/crystal.save-file +62 -0
  35. data/data/test/crystal.save-script +41 -0
  36. data/data/test/crystal.sck +598 -0
  37. data/data/test/crystal.solution +82 -0
  38. data/data/test/crystal.transcript +413 -0
  39. data/data/test/t6.pretty-print +225 -0
  40. data/data/test/t7.sao +110 -0
  41. data/data/test/t7.solution +28 -0
  42. data/data/test/t7.transcript +147 -0
  43. data/data/tutorial/t1.sck +5 -0
  44. data/data/tutorial/t2.sck +14 -0
  45. data/data/tutorial/t3.sck +38 -0
  46. data/data/tutorial/t4.sck +62 -0
  47. data/data/tutorial/t5.sck +87 -0
  48. data/data/tutorial/t6.sck +119 -0
  49. data/data/tutorial/t7.sck +135 -0
  50. data/lib/scottkit/compile.rb +661 -0
  51. data/lib/scottkit/decompile.rb +175 -0
  52. data/lib/scottkit/game.rb +409 -0
  53. data/lib/scottkit/play.rb +474 -0
  54. data/notes/Definition +147 -0
  55. data/notes/Definition.saved-game +9 -0
  56. data/notes/Definition.scottfree-1.14 +142 -0
  57. data/notes/adventureland-maze +20 -0
  58. data/notes/continue-action +51 -0
  59. data/test/test_canonicalise.rb +94 -0
  60. data/test/test_compile.rb +54 -0
  61. data/test/test_decompile.rb +13 -0
  62. data/test/test_play.rb +20 -0
  63. data/test/test_playadams.rb +36 -0
  64. data/test/test_save.rb +31 -0
  65. data/test/withio.rb +15 -0
  66. data/test/withio_test.rb +31 -0
  67. metadata +118 -0
@@ -0,0 +1,2 @@
1
+ *.dat
2
+ 0readme.txt
Binary file
@@ -0,0 +1,18 @@
1
+ # This Makefile fetches an archive of Scott Adams's games from a
2
+ # well-known location and unpacks it; make clean removes the unpacked
3
+ # file and make realclean also removes the downloaded archive. I
4
+ # don't want to include the Adams games in the ScottKit distribution,
5
+ # as they are still under copyright and not really mine to distribute.
6
+
7
+ adv01.dat: AdamsGames.zip
8
+ unzip -o AdamsGames.zip
9
+
10
+ AdamsGames.zip:
11
+ wget -nv http://ifmirror.russotto.net/if-archive/scott-adams/games/scottfree/AdamsGames.zip
12
+
13
+ clean:
14
+ rm -f 0readme.txt *.dat
15
+
16
+ realclean: clean
17
+ rm -f AdamsGames.zip
18
+
@@ -0,0 +1,112 @@
1
+ Crystal of Chaos
2
+ ================
3
+
4
+ Mike Taylor
5
+ Started Monday 9th April 2001
6
+
7
+
8
+ Empty Room
9
+ |
10
+ =
11
+ |
12
+ Passage
13
+ [oak door -> oak, entrance]
14
+ =
15
+ |
16
+ Tunnel
17
+ [plywood door -> plywood, passage]
18
+ =
19
+ |
20
+ Swamp-----------Outcrop
21
+ [cypress, mud, [balsa door -> balsa, tunnel]
22
+ |oil, gas, |
23
+ |chiggers] |
24
+ | |
25
+ Hut-------------Clearing--------Glade--->CLIMB, <Down---Top of Beech
26
+ [sign, axe, <treasure> [beech] [nest, honey, bees]
27
+ match] | |
28
+ | |
29
+ Forest----------Forest2
30
+ [bear] [pool]
31
+ | vGO POOL, ^Up
32
+ | |
33
+ Forest Path In Pool
34
+ [vase] [inflow]
35
+ ______/(why here?!) vGO INFLOW
36
+ / |
37
+ Inside vase River1
38
+ [key] |
39
+ |
40
+ |
41
+ River2
42
+ |
43
+ |
44
+ |
45
+ River3
46
+ |
47
+ |
48
+ |
49
+ River4
50
+ |
51
+ |
52
+ |
53
+ River Chamber
54
+ [*stoat*]
55
+ |
56
+ |
57
+ Cell-----||-----Prison----------Central Ch.-----Junction--------Control Room
58
+ [goblin] [iron door, | [red button,
59
+ =bronze door] | blue button,
60
+ | | lever]
61
+ Cell2 Steel Room
62
+ [steel rope] |
63
+ |
64
+ |
65
+ Chasm Hall
66
+
67
+ --
68
+
69
+ Can hold breath for four moves:
70
+ GO POOL
71
+ GO INFLOW
72
+ DROP VASE
73
+ GO VASE (at river2)
74
+ (BREATHE; HOLD BREATH)
75
+ LEAVE VASE
76
+ S
77
+ S
78
+ S
79
+ And if you don't do the vase-breathing trick, it gets you:
80
+ GO POOL
81
+ GO INFLOW
82
+ S
83
+ S
84
+ as far as river3, which is where we need to see the first glow of light
85
+
86
+ --
87
+
88
+ Another underwater-movement puzzle:
89
+
90
+ Pool1 Pool2
91
+ \ \
92
+ (^Up, vDown) (^Up, vDown)
93
+ / /
94
+ Bottom1---------Bottom2
95
+
96
+ You can only swim down from Pool<n> to Bottom<n> while carrying a
97
+ brick as ballast, but then you can only swim back up if you're NOT
98
+ carrying it. That's fine for going through once in one direction, but
99
+ you can't get back. The trick is to tie a rope to the brick, swim
100
+ down, go east or west as necessary, drop the brick and swim up while
101
+ still carrying the rope. Then when you're out of the pool, you can
102
+ pull the rope to bring the brick back up.
103
+
104
+ ---
105
+
106
+ single-location maze
107
+ "win game" spell
108
+
109
+ ---
110
+
111
+ giant frogs bars your way. kiss => turns to prince
112
+