From 427bd23a104df1541093e214276ded1d6bfac9b5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 16 Jul 2017 06:26:51 -0400 Subject: [PATCH] Test consolidation - move a lot of nonlethal failures into bigfail.log. --- tests/backfailmaze.chk | 606 ------------ tests/backfailmaze.log | 115 --- tests/{bearbridge.chk => bigfail.chk} | 89 +- tests/{bearbridge.log => bigfail.log} | 27 +- tests/breakvase.chk | 1317 ------------------------- tests/breakvase.log | 221 ----- tests/drinkfail.chk | 37 - tests/drinkfail.log | 5 - tests/parallel1.chk | 231 ----- tests/parallel1.log | 40 - 10 files changed, 98 insertions(+), 2590 deletions(-) delete mode 100644 tests/backfailmaze.chk delete mode 100644 tests/backfailmaze.log rename tests/{bearbridge.chk => bigfail.chk} (96%) rename tests/{bearbridge.log => bigfail.log} (82%) delete mode 100644 tests/breakvase.chk delete mode 100644 tests/breakvase.log delete mode 100644 tests/drinkfail.chk delete mode 100644 tests/drinkfail.log delete mode 100644 tests/parallel1.chk delete mode 100644 tests/parallel1.log diff --git a/tests/backfailmaze.chk b/tests/backfailmaze.chk deleted file mode 100644 index ac79c42..0000000 --- a/tests/backfailmaze.chk +++ /dev/null @@ -1,606 +0,0 @@ - -Welcome to Adventure!! Would you like instructions? - -> n - -You are standing at the end of a road before a small brick building. -Around you is a forest. A small stream flows out of the building and -down a gully. - -> seed 1071883378 -Seed set to 1071883378 - -You're in front of building. - -> in - -You are inside a building, a well house for a large spring. - -There are some keys on the ground here. - -There is a shiny brass lamp nearby. - -There is food here. - -There is a bottle of water here. - -> take lamp - -OK - -> say xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> take rod - -OK - -> e - -You are crawling over cobbles in a low passage. There is a dim light -at the east end of the passage. - -There is a small wicker cage discarded nearby. - -> take cage - -OK - -> w - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You are in a debris room filled with stuff washed in from the surface. -A low wide passage with cobbles becomes plugged with mud and debris -here, but an awkward canyon leads upward and west. In the mud someone -has scrawled, "MAGIC WORD XYZZY". - -> w - -You are in an awkward sloping east/west canyon. - -> w - -You are in a splendid chamber thirty feet high. The walls are frozen -rivers of orange stone. An awkward canyon and a good passage exit -from east and west sides of the chamber. - -A cheerful little bird is sitting here singing. - -> drop rod - -OK - -> take bird - -OK - -> take rod - -OK - -> w - -At your feet is a small pit breathing traces of white mist. An east -passage ends here except for a small crack leading on. - -Rough stone steps lead down the pit. - -> free bird - -OK - -> wave rod - -The bird flies about agitatedly for a moment, then disappears through -the crack. It reappears shortly, carrying in its beak a jade -necklace, which it drops at your feet. - -> drop rod - -OK - -> take bird - -OK - -> take jade - -OK - -> e - -You're in bird chamber. - -> e - -You are in an awkward sloping east/west canyon. - -> e - -You're in debris room. - -> off - -Your lamp is now off. - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> xyzzy - ->>Foof!<< - -You're inside building. - -There are some keys on the ground here. - -There is food here. - -There is a bottle of water here. - -> drop jade - -OK - -> xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You're in debris room. - -> w - -You are in an awkward sloping east/west canyon. - -> w - -You're in bird chamber. - -> w - -You're at top of small pit. - -A three foot black rod with a rusty star on an end lies nearby. - -Rough stone steps lead down the pit. - -> take rod - -OK - -> d - -You are at one end of a vast hall stretching forward out of sight to -the west. There are openings to either side. Nearby, a wide stone -staircase leads downward. The hall is filled with wisps of white mist -swaying to and fro almost as if alive. A cold wind blows up the -staircase. There is a passage at the top of a dome behind you. - -Rough stone steps lead up the dome. - -> w - -You are on the east bank of a fissure slicing clear across the hall. -The mist is quite thick here, and the fissure is too wide to jump. - -> wave rod - -The bird flies agitatedly about the cage. - -A crystal bridge now spans the fissure. - -> drop rod - -OK - -> w - -You are on the west side of the fissure in the Hall of Mists. - -There are diamonds here! - -A crystal bridge spans the fissure. - -> w - -You are at the west end of the Hall of Mists. A low wide crawl -continues west and another goes north. To the south is a little -passage 6 feet off the floor. - -> s - -You are in a maze of twisty little passages, all alike. - -> s - -You are in a maze of twisty little passages, all alike. - -> s - -Dead end - -> n - -There is no way to go that direction. - -Dead end - -> look - -Sorry, but I am not allowed to give more detail. I will repeat the -long description of your location. - -Dead end - -> w - -There is no way to go that direction. - -Dead end - -> e - -You are in a maze of twisty little passages, all alike. - -> e - -Dead end - -> w - -You are in a maze of twisty little passages, all alike. - -> n - -You are in a maze of twisty little passages, all alike. - -> n - -There is no way to go that direction. - -You are in a maze of twisty little passages, all alike. - -> sw - -There is no way to go that direction. - -You are in a maze of twisty little passages, all alike. - -> up - -There is no way to go that direction. - -A little dwarf just walked around a corner, saw you, threw a little -axe at you which missed, cursed, and ran away. - -You are in a maze of twisty little passages, all alike. - -There is a little axe here. - -> take axe - -OK - -> e - -You are in a maze of twisty little passages, all alike. - -> e - -Dead end - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -There is a threatening little dwarf in the room with you! - -You are in a maze of twisty little passages, all alike. - -> throw axe - -You attack a little dwarf, but he dodges out of the way. - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -There is a little axe here. - -> take axe - -OK - -> w - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -> w - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -> w - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -> w - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -> throw axe - -You attack a little dwarf, but he dodges out of the way. - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -There is a little axe here. - -> take axe - -OK - -> throw axe - -You attack a little dwarf, but he dodges out of the way. - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You are in a maze of twisty little passages, all alike. - -There is a little axe here. - -> take axe - -OK - -> throw axe - -You killed a little dwarf. The body vanishes in a cloud of greasy -black smoke. - -You are in a maze of twisty little passages, all alike. - -There is a little axe here. - -> take axe - -OK - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> w - -You are in a maze of twisty little passages, all alike. - -> n - -You are in a maze of twisty little passages, all alike. - -> s - -You are in a maze of twisty little passages, all alike. - -> e - -Dead end - -> w - -You are in a maze of twisty little passages, all alike. - -> n - -You are in a maze of twisty little passages, all alike. - -> s - -You are in a maze of twisty little passages, all alike. - -> e - -You are in a maze of twisty little passages, all alike. - -> back - -Sorry, but the path twisted and turned so much that I can't figure -out which way to go to get back. - -You are in a maze of twisty little passages, all alike. - -Do you need help getting out of the maze? - diff --git a/tests/backfailmaze.log b/tests/backfailmaze.log deleted file mode 100644 index 22b8241..0000000 --- a/tests/backfailmaze.log +++ /dev/null @@ -1,115 +0,0 @@ -## Try to go back in the maze, and fail -n -seed 1071883378 -in -take lamp -say xyzzy -take rod -e -take cage -w -on -w -w -drop rod -take bird -take rod -w -free bird -wave rod -drop rod -take bird -take jade -e -e -e -off -xyzzy -drop jade -xyzzy -on -w -w -w -take rod -d -w -wave rod -drop rod -w -w -s -s -s -n -look -w -e -e -w -n -n -sw -up -take axe -e -e -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -w -throw axe -take axe -w -w -w -w -throw axe -take axe -throw axe -take axe -throw axe -take axe -w -w -w -w -w -w -w -w -w -w -w -w -w -n -s -e -w -n -s -e -back diff --git a/tests/bearbridge.chk b/tests/bigfail.chk similarity index 96% rename from tests/bearbridge.chk rename to tests/bigfail.chk index 3734552..0a47e52 100644 --- a/tests/bearbridge.chk +++ b/tests/bigfail.chk @@ -1109,8 +1109,6 @@ a small pool of oil in one corner of the pit. Your bottle is now full of oil. -> - > u You're at east end of Twopit Room. @@ -1273,6 +1271,14 @@ There is a delicate, precious, ming vase here! OK +> break vase + +You have taken the vase and hurled it delicately to the ground. + +> break vase + +It is beyond your power to do that. + > se There is a threatening little dwarf in the room with you! @@ -1426,10 +1432,6 @@ There is food here. OK -> drop vase - -The vase is now resting, delicately, on a velvet pillow. - > drop trident OK @@ -1810,8 +1812,6 @@ There is an emerald here the size of a plover's egg! There is a jewel-encrusted trident here! -There is a delicate, precious, ming vase here! - A small velvet pillow lies on the floor. There is a platinum pyramid here, 8 inches on a side! @@ -1858,8 +1858,6 @@ There is an emerald here the size of a plover's egg! There is a jewel-encrusted trident here! -There is a delicate, precious, ming vase here! - A small velvet pillow lies on the floor. There is a platinum pyramid here, 8 inches on a side! @@ -1964,6 +1962,8 @@ You're in large low room. You're in Oriental Room. +The floor is littered with worthless shards of pottery. + > se You're in Swiss Cheese Room. @@ -2099,6 +2099,8 @@ OK > z +Your lamp is getting dim. You'd best go back for those batteries. + OK > z @@ -2107,13 +2109,74 @@ OK > z -Your lamp is getting dim. You'd best go back for those batteries. +Tsk! A wizard wouldn't have to take 350 turns. This is going to cost +you a couple of points. OK +> s + +Dead end + +There are fresh batteries here. + +There is a massive vending machine here, swung back to reveal a +southward passage. + +> take batteries + +Your lamp is getting dim. I'm taking the liberty of replacing the +batteries. + +OK + +> n + +You are in a little maze of twisting passages, all different. + +> back + +Sorry, but the path twisted and turned so much that I can't figure +out which way to go to get back. + +You are in a little maze of twisting passages, all different. + +> n + +You are in a little maze of twisty passages, all different. + +> nw + +You are in a maze of twisty little passages, all different. + +> d + +You're at west end of long hall. + +> drink + +Drink what? + +> e + +You're at east end of long hall. + +> e + +You're at west end of Hall of Mists. + +> n + +You have crawled through a very low wide passage parallel to and north +of the Hall of Mists. + +You're on west bank of fissure. + +A crystal bridge spans the fissure. + -You scored 233 out of a possible 430, using 350 turns. +You scored 217 out of a possible 430, using 362 turns. You may now consider yourself a "Seasoned Adventurer". -To achieve the next higher rating, you need 18 more points. +To achieve the next higher rating, you need 34 more points. diff --git a/tests/bearbridge.log b/tests/bigfail.log similarity index 82% rename from tests/bearbridge.log rename to tests/bigfail.log index c9bdba1..c09d88d 100644 --- a/tests/bearbridge.log +++ b/tests/bigfail.log @@ -1,4 +1,5 @@ -## Bridge destruction; also test bivalve predicates and bear feeding. +## Test many nonlethal failure conditions +# See comments in this log n seed 1838473132 in @@ -183,7 +184,6 @@ drop appendage e d get oil - u w d @@ -213,6 +213,9 @@ take trident nw s take vase +# Test vase breakage +break vase +break vase se throw axe take axe @@ -223,7 +226,7 @@ drop axe ne e n -# Here we are at the Shell Room +# Here we are at the Shell Room. Fail to carry out bivalves take clam s drop clam @@ -240,7 +243,6 @@ n off plugh drop pillow -drop vase drop trident drop emerald drop ebony @@ -325,7 +327,7 @@ feed bear attack bear # We'll need these when the game times out take coins -# Back to fissure to test OVER +# Back to fissure to vanish the bridge and then test OVER sw d se @@ -361,3 +363,18 @@ z z z # Battery warning happens here. +s +take batteries +# We now have 2500 more turns of life. Into the maze... +n +# Show that trying to back up in the maze fails +back +n +nw +d +# Out of maze. Drink where nothing is eligible. +drink +e +e +# PARALLEL1 coverage +n diff --git a/tests/breakvase.chk b/tests/breakvase.chk deleted file mode 100644 index c1adb27..0000000 --- a/tests/breakvase.chk +++ /dev/null @@ -1,1317 +0,0 @@ - -Welcome to Adventure!! Would you like instructions? - -> n - -You are standing at the end of a road before a small brick building. -Around you is a forest. A small stream flows out of the building and -down a gully. - -> seed 1071883378 -Seed set to 1071883378 - -You're in front of building. - -> in - -You are inside a building, a well house for a large spring. - -There are some keys on the ground here. - -There is a shiny brass lamp nearby. - -There is food here. - -There is a bottle of water here. - -> take lamp - -OK - -> xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> take rod - -OK - -> e - -You are crawling over cobbles in a low passage. There is a dim light -at the east end of the passage. - -There is a small wicker cage discarded nearby. - -> take cage - -OK - -> w - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You are in a debris room filled with stuff washed in from the surface. -A low wide passage with cobbles becomes plugged with mud and debris -here, but an awkward canyon leads upward and west. In the mud someone -has scrawled, "MAGIC WORD XYZZY". - -> w - -You are in an awkward sloping east/west canyon. - -> w - -You are in a splendid chamber thirty feet high. The walls are frozen -rivers of orange stone. An awkward canyon and a good passage exit -from east and west sides of the chamber. - -A cheerful little bird is sitting here singing. - -> drop rod - -OK - -> take bird - -OK - -> take rod - -OK - -> w - -At your feet is a small pit breathing traces of white mist. An east -passage ends here except for a small crack leading on. - -Rough stone steps lead down the pit. - -> free bird - -OK - -> wave rod - -The bird flies about agitatedly for a moment, then disappears through -the crack. It reappears shortly, carrying in its beak a jade -necklace, which it drops at your feet. - -> drop rod - -OK - -> take bird - -OK - -> take jade - -OK - -> e - -You're in bird chamber. - -> e - -You are in an awkward sloping east/west canyon. - -> e - -You're in debris room. - -> off - -Your lamp is now off. - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> xyzzy - ->>Foof!<< - -You're inside building. - -There are some keys on the ground here. - -There is food here. - -There is a bottle of water here. - -> drop jade - -OK - -> xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You're in debris room. - -> w - -You are in an awkward sloping east/west canyon. - -> w - -You're in bird chamber. - -> w - -You're at top of small pit. - -A three foot black rod with a rusty star on an end lies nearby. - -Rough stone steps lead down the pit. - -> take rod - -OK - -> d - -You are at one end of a vast hall stretching forward out of sight to -the west. There are openings to either side. Nearby, a wide stone -staircase leads downward. The hall is filled with wisps of white mist -swaying to and fro almost as if alive. A cold wind blows up the -staircase. There is a passage at the top of a dome behind you. - -Rough stone steps lead up the dome. - -> w - -You are on the east bank of a fissure slicing clear across the hall. -The mist is quite thick here, and the fissure is too wide to jump. - -> wave rod - -The bird flies agitatedly about the cage. - -A crystal bridge now spans the fissure. - -> drop rod - -OK - -> e - -You're in Hall of Mists. - -Rough stone steps lead up the dome. - -> n - -You are in the Hall of the Mountain King, with passages off in all -directions. - -A huge green fierce snake bars the way! - -> free bird - -The little bird attacks the green snake, and in an astounding flurry -drives the snake away. - -> take bird - -OK - -> s - -You are in the south side chamber. - -There is precious jewelry here! - -> take jewelry - -OK - -> n - -You're in Hall of Mt King. - -> sw - -You are in a secret canyon which here runs e/w. It crosses over a -very tight canyon 15 feet below. If you go down you may not be able -to get back up. - -> w - -You are in a secret canyon which exits to the north and east. - -A huge green fierce dragon bars the way! - -The dragon is sprawled out on a persian rug!! - -> kill dragon - -With what? Your bare hands? - -> yes - -Congratulations! You have just vanquished a dragon with your bare -hands! (Unbelievable, isn't it?) - -You are in a secret canyon which exits to the north and east. - -There is a persian rug spread out on the floor! - -The blood-specked body of a huge green dead dragon lies to one side. - -> drink blood - -Your head buzzes strangely for a moment. - -> e - -You're in secret e/w canyon above tight canyon. - -> e - -You're in Hall of Mt King. - -> n - -You are in a low n/s passage at a hole in the floor. The hole goes -down to an e/w passage. - -There are bars of silver here! - -> take silver - -OK - -> n - -You are in a large room, with a passage to the south, a passage to the -west, and a wall of broken rock to the east. There is a large "Y2" on -a rock in the room's center. - -> off - -Your lamp is now off. - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> plugh - ->>Foof!<< - -You're inside building. - -A precious jade necklace has been dropped here! - -There are some keys on the ground here. - -There is food here. - -There is a bottle of water here. - -> drop jewelry - -OK - -> drop rug - -I see no rug here. - -> drop silver - -OK - -> out - -You're in front of building. - -> s - -You are in a valley in the forest beside a stream tumbling along a -rocky bed. - -> w - -You are wandering aimlessly through the forest. - -> n - -You are wandering aimlessly through the forest. - -Your keen eye spots a severed leporine appendage lying on the ground. - -> take appendage - -OK - -> free bird - -OK - -> drop cage - -OK - -> listen - -The bird is singing to you in gratitude for your having returned it to -its home. In return, it informs you of a magic word which it thinks -you may find useful somewhere near the Hall of Mists. The magic word -changes frequently, but for now the bird believes it is "F'JBV". You -thank the bird for this information, and it flies off into the forest. - -> s - -You are wandering aimlessly through the forest. - -> s - -You're in valley. - -> n - -You're in front of building. - -> in - -You're inside building. - -There are bars of silver here! - -There is precious jewelry here! - -A precious jade necklace has been dropped here! - -There are some keys on the ground here. - -There is food here. - -There is a bottle of water here. - -> take water - -OK - -> plugh - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -A hollow voice says "PLUGH". - -> on - -Your lamp is now on. - -You're at "Y2". - -A hollow voice says "PLUGH". - -> plover - ->>Foof!<< - -You're in a small chamber lit by an eerie green light. An extremely -narrow tunnel exits to the west. A dark corridor leads ne. - -There is an emerald here the size of a plover's egg! - -> ne - -A little dwarf just walked around a corner, saw you, threw a little -axe at you which missed, cursed, and ran away. - -You're in the dark-room. A corridor leading south is the only exit. - -There is a little axe here. - -A massive stone tablet imbedded in the wall reads: -"Congratulations on bringing light into the dark-room!" - -There is a platinum pyramid here, 8 inches on a side! - -> take pyramid - -OK - -> take axe - -OK - -> s - -You're in Plover Room. - -There is an emerald here the size of a plover's egg! - -> plover - ->>Foof!<< - -You're at "Y2". - -> s - -You're in n/s passage above e/w passage. - -> d - -You are in a dirty broken passage. To the east is a crawl. To the -west is a large passage. Above you is a hole to another passage. - -> u - -You're in n/s passage above e/w passage. - -> s - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You're in Hall of Mt King. - -> up - -There is a threatening little dwarf in the room with you! - -You're in Hall of Mists. - -Rough stone steps lead up the dome. - -> w - -There is a threatening little dwarf in the room with you! - -You're on east bank of fissure. - -A three foot black rod with a rusty star on an end lies nearby. - -A crystal bridge spans the fissure. - -> w - -There is a threatening little dwarf in the room with you! - -You are on the west side of the fissure in the Hall of Mists. - -There are diamonds here! - -A crystal bridge spans the fissure. - -> w - -There are 2 threatening little dwarves in the room with you. - -One sharp nasty knife is thrown at you! - -It misses! - -You are at the west end of the Hall of Mists. A low wide crawl -continues west and another goes north. To the south is a little -passage 6 feet off the floor. - -> w - -There are 2 threatening little dwarves in the room with you. - -You are at the east end of a very long hall apparently without side -chambers. To the east a low wide crawl slants up. To the north a -round two foot hole slants down. - -> w - -There are 2 threatening little dwarves in the room with you. - -You are at the west end of a very long featureless hall. The hall -joins up with a narrow north/south passage. - -> s - -There are 2 threatening little dwarves in the room with you. - -You are in a maze of twisty little passages, all different. - -> sw - -There are 2 threatening little dwarves in the room with you. - -You are in a little maze of twisty passages, all different. - -> se - -There are 2 threatening little dwarves in the room with you. - -You are in a little maze of twisting passages, all different. - -> s - -There are 2 threatening little dwarves in the room with you. - -Dead end - -There is a massive and somewhat battered vending machine here. The -instructions on it read: "Drop coins here to receive fresh batteries." - -> kill machine - -As you strike the vending machine, it pivots backward along with a -section of wall, revealing a dark passage leading south. - -> s - -There are 2 threatening little dwarves in the room with you. - -You are in a long, rough-hewn, north/south corridor. - -> s - -There are 2 threatening little dwarves in the room with you. - -You are in a large chamber with passages to the west and north. - -A formidable ogre bars the northern exit. - -> kill ogre - -The ogre, who despite his bulk is quite agile, easily dodges your -attack. He seems almost amused by your puny effort. - -One sharp nasty knife is thrown at you! - -The ogre, distracted by your rush, is struck by the knife. With a -blood-curdling yell he turns and bounds after the dwarves, who flee -in panic. You are left alone in the room. - -> n - -You are in the ogre's storeroom. The only exit is to the south. - -There is an enormous ruby here! - -> s - -You are in a large chamber with passages to the west and north. - -> w - -You are in a long, rough-hewn, north/south corridor. - -> n - -Dead end - -There is a massive vending machine here, swung back to reveal a -southward passage. - -> n - -You are in a little maze of twisting passages, all different. - -> n - -You are in a little maze of twisty passages, all different. - -> nw - -You are in a maze of twisty little passages, all different. - -> down - -You're at west end of long hall. - -> e - -You're at east end of long hall. - -> e - -You're at west end of Hall of Mists. - -> e - -You're on west bank of fissure. - -There are diamonds here! - -A crystal bridge spans the fissure. - -> take diamonds - -OK - -> e - -You're on east bank of fissure. - -A three foot black rod with a rusty star on an end lies nearby. - -A crystal bridge spans the fissure. - -> e - -You're in Hall of Mists. - -Rough stone steps lead up the dome. - -> s - -This is a low room with a crude note on the wall. The note says, -"You won't get it up the steps". - -There is a large sparkling nugget of gold here! - -> take gold - -OK - -> n - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You're in Hall of Mists. - -> y2 - -There is a threatening little dwarf in the room with you! - -You are in a jumble of rock, with cracks everywhere. - -> d - -There is a threatening little dwarf in the room with you! - -You're at "Y2". - -> s - -There is a threatening little dwarf in the room with you! - -You're in n/s passage above e/w passage. - -> s - -There is a threatening little dwarf in the room with you! - -You're in Hall of Mt King. - -> w - -There is a threatening little dwarf in the room with you! - -You are in the west side chamber of the Hall of the Mountain King. -A passage continues west and up here. - -There are many coins here! - -> take coins - -You can't carry anything more. You'll have to drop something first. - -> e - -A little dwarf with a big knife blocks your way. - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You're in the west side chamber. - -There are many coins here! - -> e - -There is a threatening little dwarf in the room with you! - -You are in the Hall of the Mountain King, with passages off in all -directions. - -> n - -There is a threatening little dwarf in the room with you! - -You're in n/s passage above e/w passage. - -> n - -There is a threatening little dwarf in the room with you! - -You're at "Y2". - -A hollow voice says "PLUGH". - -> off - -Your lamp is now off. - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> plugh - ->>Foof!<< - -You're inside building. - -There are bars of silver here! - -There is precious jewelry here! - -A precious jade necklace has been dropped here! - -There are some keys on the ground here. - -There is food here. - -> drop gold - -OK - -> drop coins - -I see no coins here. - -> drop diamonds - -OK - -> plugh - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You are in a large room, with a passage to the south, a passage to the -west, and a wall of broken rock to the east. There is a large "Y2" on -a rock in the room's center. - -> s - -You are in a low n/s passage at a hole in the floor. The hole goes -down to an e/w passage. - -> d - -You're in dirty passage. - -> bedquilt - -You are in Bedquilt, a long east/west passage with holes everywhere. -To explore at random select north, south, up, or down. - -> slab - -You are in a large low circular chamber whose floor is an immense slab -fallen from the ceiling (Slab Room). East and west there once were -large passages, but they are now filled with boulders. Low small -passages go north and south, and the south one quickly bends west -around the boulders. - -> s - -You are at the west end of the Twopit Room. There is a large hole in -the wall above the pit at this end of the room. - -> d - -You are at the bottom of the western pit in the Twopit Room. There is -a large hole in the wall about 25 feet above you. - -There is a tiny little plant in the pit, murmuring "water, water, ..." - -> water plant - -The plant spurts into furious growth for a few seconds. - -You're in west pit. - -There is a 12-foot-tall beanstalk stretching up out of the pit, -bellowing "WATER!! WATER!!" - -> u - -You're at west end of Twopit Room. - -The top of a 12-foot-tall beanstalk is poking out of the west pit. - -> w - -You're in Slab Room. - -> u - -You are in a secret n/s canyon above a large room. - -> reservoir - -You are at the edge of a large underground reservoir. An opaque cloud -of white mist fills the room and rises rapidly upward. The lake is -fed by a stream, which tumbles out of a hole in the wall about 10 feet -overhead and splashes noisily into the water somewhere within the -mist. There is a passage going back toward the south. - -> F'JBV - -The waters have parted to form a narrow path across the reservoir. - -> n - -You are walking across the bottom of the reservoir. Walls of water -rear up on either side. The roar of the water cascading past is -nearly deafening, and the mist is so thick you can barely see. - -> n - -You are at the northern edge of the reservoir. A northwest passage -leads sharply up from here. - -The waters have parted to form a narrow path across the reservoir. - -> nw - -You are scrambling along a treacherously steep, rocky passage. - -> u - -You are on a very steep incline, which widens at it goes upward. - -> u - -You are at the base of a nearly vertical cliff. There are some -slim footholds which would enable you to climb up, but it looks -extremely dangerous. Here at the base of the cliff lie the remains -of several earlier adventurers who apparently failed to make it. - -> u - -You are climbing along a nearly vertical cliff. - -> u - -Just as you reach the top, your foot slips on a loose rock and you -make one last desperate grab. Your luck holds, as does your grip. -With an enormous heave, you lift yourself to the ledge above. - -You are on a small ledge at the top of a nearly vertical cliff. -There is a low crawl leading off to the northeast. - -> ne - -You have reached a dead end. - -There is a richly-carved ebony statuette here! - -> take ebony - -OK - -> sw - -You're at top of cliff. - -> d - -You are climbing along a nearly vertical cliff. - -> d - -You're at base of cliff. - -> d - -You are on a very steep incline, which widens at it goes upward. - -> d - -You are scrambling along a treacherously steep, rocky passage. - -> se - -You're north of reservoir. - -The waters have parted to form a narrow path across the reservoir. - -> s - -You're at bottom of reservoir. - -> take water - -Your bottle is now full of water. - -> s - -There is a threatening little dwarf in the room with you! - -You're at reservoir. - -The waters have parted to form a narrow path across the reservoir. - -> s - -A little dwarf with a big knife blocks your way. - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You're at reservoir. - -The waters have parted to form a narrow path across the reservoir. - -> s - -There is a threatening little dwarf in the room with you! - -You are in a north/south canyon about 25 feet across. The floor is -covered by white mist seeping in from the north. The walls extend -upward for well over 100 feet. Suspended from some unseen point far -above you, an enormous two-sided mirror is hanging parallel to and -midway between the canyon walls. (The mirror is obviously provided -for the use of the dwarves who, as you know, are extremely vain.) A -small window can be seen in either wall, some fifty feet up. - -> s - -There is a threatening little dwarf in the room with you! - -You are in a secret n/s canyon above a large room. - -> d - -There is a threatening little dwarf in the room with you! - -You're in Slab Room. - -> s - -There is a threatening little dwarf in the room with you! - -You're at west end of Twopit Room. - -The top of a 12-foot-tall beanstalk is poking out of the west pit. - -> d - -There is a threatening little dwarf in the room with you! - -You're in west pit. - -There is a 12-foot-tall beanstalk stretching up out of the pit, -bellowing "WATER!! WATER!!" - -> water plant - -The plant grows explosively, almost filling the bottom of the pit. - -There is a threatening little dwarf in the room with you! - -One sharp nasty knife is thrown at you! - -It misses! - -You're in west pit. - -There is a gigantic beanstalk stretching all the way up to the hole. - -> throw axe - -You killed a little dwarf. The body vanishes in a cloud of greasy -black smoke. - -You're in west pit. - -There is a little axe here. - -There is a gigantic beanstalk stretching all the way up to the hole. - -> take axe - -OK - -> u - -You're at west end of Twopit Room. - -There is a huge beanstalk growing out of the west pit up to the hole. - -> e - -You are at the east end of the Twopit Room. The floor here is -littered with thin rock slabs, which make it easy to descend the pits. -There is a path here bypassing the pits to connect passages from east -and west. There are holes all over, but the only big one is on the -wall directly over the west pit where you can't get to it. - -There is a huge beanstalk growing out of the west pit up to the hole. - -> d - -You are at the bottom of the eastern pit in the Twopit Room. There is -a small pool of oil in one corner of the pit. - -> get oil - -Your bottle is now full of oil. - -> u - -You're at east end of Twopit Room. - -There is a huge beanstalk growing out of the west pit up to the hole. - -> w - -You're at west end of Twopit Room. - -There is a huge beanstalk growing out of the west pit up to the hole. - -> d - -You are at the bottom of the western pit in the Twopit Room. There is -a large hole in the wall about 25 feet above you. - -There is a gigantic beanstalk stretching all the way up to the hole. - -> climb - -You clamber up the plant and scurry through the hole at the top. - -You are in a long, narrow corridor stretching out of sight to the -west. At the eastern end is a hole through which you can see a -profusion of leaves. - -> w - -You are in the Giant Room. The ceiling here is too high up for your -lamp to show it. Cavernous passages lead east, north, and south. On -the west wall is scrawled the inscription, "FEE FIE FOE FOO" [sic]. - -There is a large nest here, full of golden eggs! - -> n - -You are at one end of an immense north/south passage. - -The way north is barred by a massive, rusty, iron door. - -> oil door - -The oil has freed up the hinges so that the door will now move, -although it requires some effort. - -> n - -You are in a magnificent cavern with a rushing stream, which cascades -over a sparkling waterfall into a roaring whirlpool which disappears -through a hole in the floor. Passages exit to the south and west. - -There is a jewel-encrusted trident here! - -> take trident - -OK - -> w - -You are at the top of a steep incline above a large room. You could -climb down here, but you would not be able to climb up. There is a -passage leading back to the north. - -> d - -You are in a large low room. Crawls lead north, se, and sw. - -> se - -This is the Oriental Room. Ancient oriental cave drawings cover the -walls. A gently sloping passage leads upward to the north, another -passage leads se, and a hands and knees crawl leads west. - -There is a delicate, precious, ming vase here! - -> n - -You are following a wide path around the outer edge of a large cavern. -Far below, through a heavy white mist, strange splashing noises can be -heard. The mist rises up through a fissure in the ceiling. The path -exits to the south and west. - -> w - -You are in an alcove. A small nw path seems to widen after a short -distance. An extremely tight tunnel leads east. It looks like a very -tight squeeze. An eerie light can be seen at the other end. - -> drop trident - -OK - -> drop bottle - -OK - -> drop axe - -OK - -> drop appendage - -OK - -> drop pyramid - -OK - -> drop ebony - -OK - -> drop lantern - -OK - -> e - -You're in Plover Room. - -There is an emerald here the size of a plover's egg! - -> take emerald - -OK - -> w - -You're in alcove. - -There is a lamp shining nearby. - -There is a richly-carved ebony statuette here! - -There is a platinum pyramid here, 8 inches on a side! - -Your keen eye spots a severed leporine appendage lying on the ground. - -There is a little axe here. - -There is an empty bottle here. - -There is a jewel-encrusted trident here! - -> take lamp - -OK - -> take ebony - -OK - -> take pyramid - -OK - -> take appendage - -OK - -> take axe - -OK - -> nw - -Out from the shadows behind you pounces a bearded pirate! "Har, har," -he chortles, "I'll just take all this booty and hide it away with me -chest deep in the maze!" He snatches your treasure and vanishes into -the gloom. - -You're in misty cavern. - -> look - -Sorry, but I am not allowed to give more detail. I will repeat the -long description of your location. - -You are following a wide path around the outer edge of a large cavern. -Far below, through a heavy white mist, strange splashing noises can be -heard. The mist rises up through a fissure in the ceiling. The path -exits to the south and west. - -> w - -You're in alcove. - -There is an empty bottle here. - -There is a jewel-encrusted trident here! - -> take bottle - -OK - -> take trident - -OK - -> nw - -You're in misty cavern. - -> s - -You're in Oriental Room. - -There is a delicate, precious, ming vase here! - -> take vase - -OK - -> break vase - -You have taken the vase and hurled it delicately to the ground. - -> break vase - -It is beyond your power to do that. - -> quit - -Do you really want to quit now? - -> yes - -OK - -You scored 139 out of a possible 430, using 212 turns. - -You have achieved the rating: "Experienced Adventurer". - -To achieve the next higher rating, you need 32 more points. diff --git a/tests/breakvase.log b/tests/breakvase.log deleted file mode 100644 index d55c439..0000000 --- a/tests/breakvase.log +++ /dev/null @@ -1,221 +0,0 @@ -## Break the vase -# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 -n -seed 1071883378 -in -take lamp -xyzzy -take rod -e -take cage -w -on -w -w -drop rod -take bird -take rod -w -free bird -wave rod -drop rod -take bird -take jade -e -e -e -off -xyzzy -drop jade -xyzzy -on -w -w -w -take rod -d -w -wave rod -drop rod -e -n -free bird -take bird -s -take jewelry -n -sw -w -kill dragon -yes -drink blood -e -e -n -take silver -n -off -plugh -drop jewelry -drop rug -drop silver -out -s -w -n -take appendage -free bird -drop cage -listen -s -s -n -in -take water -plugh -on -plover -ne -take pyramid -take axe -s -plover -s -d -u -s -up -# Hall of Mists -w -w -w -w -w -s -sw -se -s -kill machine -s -s -kill ogre -n -s -w -n -n -n -nw -down -e -e -e -take diamonds -e -e -s -take gold -n -y2 -d -s -s -w -take coins -e -e -n -n -off -plugh -drop gold -drop coins -drop diamonds -plugh -on -s -d -bedquilt -slab -s -d -water plant -u -w -u -reservoir -F'JBV -n -n -nw -u -u -u -u -ne -take ebony -sw -d -d -d -d -se -s -take water -s -s -s -s -d -s -d -water plant -throw axe -take axe -u -e -d -get oil -u -w -d -climb -w -n -oil door -n -take trident -w -d -se -n -w -drop trident -drop bottle -drop axe -drop appendage -drop pyramid -drop ebony -drop lantern -e -take emerald -w -take lamp -take ebony -take pyramid -take appendage -take axe -# Don't take trident now or pirate will snatch it on next move. -nw -look -w -take bottle -take trident -nw -s -# Previous was just setup - this is the real test -take vase -break vase -break vase -quit -yes diff --git a/tests/drinkfail.chk b/tests/drinkfail.chk deleted file mode 100644 index 43f9e2c..0000000 --- a/tests/drinkfail.chk +++ /dev/null @@ -1,37 +0,0 @@ - -Welcome to Adventure!! Would you like instructions? - -> n - -You are standing at the end of a road before a small brick building. -Around you is a forest. A small stream flows out of the building and -down a gully. - -> in - -You are inside a building, a well house for a large spring. - -There are some keys on the ground here. - -There is a shiny brass lamp nearby. - -There is food here. - -There is a bottle of water here. - -> xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> drink - -Drink what? - - -You scored 32 out of a possible 430, using 3 turns. - -You are obviously a rank amateur. Better luck next time. - -To achieve the next higher rating, you need 14 more points. diff --git a/tests/drinkfail.log b/tests/drinkfail.log deleted file mode 100644 index 7beb35b..0000000 --- a/tests/drinkfail.log +++ /dev/null @@ -1,5 +0,0 @@ -## Drink unknown -n -in -xyzzy -drink diff --git a/tests/parallel1.chk b/tests/parallel1.chk deleted file mode 100644 index 3a68235..0000000 --- a/tests/parallel1.chk +++ /dev/null @@ -1,231 +0,0 @@ - -Welcome to Adventure!! Would you like instructions? - -> n - -You are standing at the end of a road before a small brick building. -Around you is a forest. A small stream flows out of the building and -down a gully. - -> seed 1071883378 -Seed set to 1071883378 - -You're in front of building. - -> in - -You are inside a building, a well house for a large spring. - -There are some keys on the ground here. - -There is a shiny brass lamp nearby. - -There is food here. - -There is a bottle of water here. - -> take lamp - -OK - -> say xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> take rod - -OK - -> e - -You are crawling over cobbles in a low passage. There is a dim light -at the east end of the passage. - -There is a small wicker cage discarded nearby. - -> take cage - -OK - -> w - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You are in a debris room filled with stuff washed in from the surface. -A low wide passage with cobbles becomes plugged with mud and debris -here, but an awkward canyon leads upward and west. In the mud someone -has scrawled, "MAGIC WORD XYZZY". - -> w - -You are in an awkward sloping east/west canyon. - -> w - -You are in a splendid chamber thirty feet high. The walls are frozen -rivers of orange stone. An awkward canyon and a good passage exit -from east and west sides of the chamber. - -A cheerful little bird is sitting here singing. - -> drop rod - -OK - -> take bird - -OK - -> take rod - -OK - -> w - -At your feet is a small pit breathing traces of white mist. An east -passage ends here except for a small crack leading on. - -Rough stone steps lead down the pit. - -> free bird - -OK - -> wave rod - -The bird flies about agitatedly for a moment, then disappears through -the crack. It reappears shortly, carrying in its beak a jade -necklace, which it drops at your feet. - -> drop rod - -OK - -> take bird - -OK - -> take jade - -OK - -> e - -You're in bird chamber. - -> e - -You are in an awkward sloping east/west canyon. - -> e - -You're in debris room. - -> off - -Your lamp is now off. - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> xyzzy - ->>Foof!<< - -You're inside building. - -There are some keys on the ground here. - -There is food here. - -There is a bottle of water here. - -> drop jade - -OK - -> xyzzy - ->>Foof!<< - -It is now pitch dark. If you proceed you will likely fall into a pit. - -> on - -Your lamp is now on. - -You're in debris room. - -> w - -You are in an awkward sloping east/west canyon. - -> w - -You're in bird chamber. - -> w - -You're at top of small pit. - -A three foot black rod with a rusty star on an end lies nearby. - -Rough stone steps lead down the pit. - -> take rod - -OK - -> d - -You are at one end of a vast hall stretching forward out of sight to -the west. There are openings to either side. Nearby, a wide stone -staircase leads downward. The hall is filled with wisps of white mist -swaying to and fro almost as if alive. A cold wind blows up the -staircase. There is a passage at the top of a dome behind you. - -Rough stone steps lead up the dome. - -> w - -You are on the east bank of a fissure slicing clear across the hall. -The mist is quite thick here, and the fissure is too wide to jump. - -> wave rod - -The bird flies agitatedly about the cage. - -A crystal bridge now spans the fissure. - -> drop rod - -OK - -> w - -You are on the west side of the fissure in the Hall of Mists. - -There are diamonds here! - -A crystal bridge spans the fissure. - -> n - -You have crawled through a very low wide passage parallel to and north -of the Hall of Mists. - -You are at the west end of the Hall of Mists. A low wide crawl -continues west and another goes north. To the south is a little -passage 6 feet off the floor. - - -You scored 75 out of a possible 430, using 37 turns. - -Your score qualifies you as a novice class adventurer. - -To achieve the next higher rating, you need 46 more points. diff --git a/tests/parallel1.log b/tests/parallel1.log deleted file mode 100644 index 0a84768..0000000 --- a/tests/parallel1.log +++ /dev/null @@ -1,40 +0,0 @@ -## display text for LOC_PARALLEL1 -n -seed 1071883378 -in -take lamp -say xyzzy -take rod -e -take cage -w -on -w -w -drop rod -take bird -take rod -w -free bird -wave rod -drop rod -take bird -take jade -e -e -e -off -xyzzy -drop jade -xyzzy -on -w -w -w -take rod -d -w -wave rod -drop rod -w -n -- 2.31.1