From: Eric S. Raymond Date: Mon, 19 Jun 2017 14:32:58 +0000 (-0400) Subject: Add axeorama log, extending test coverage. X-Git-Tag: 1.1~221 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=28f9fd59bb8ae38a8ce644b87dc0d80d1cace2f7;p=open-adventure.git Add axeorama log, extending test coverage. --- diff --git a/tests/axeorama.chk b/tests/axeorama.chk new file mode 100644 index 0000000..8abc3ee --- /dev/null +++ b/tests/axeorama.chk @@ -0,0 +1,635 @@ + +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 1838473132 +Seed set to 1838473132 + +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. + +> 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". + +A three foot black rod with a rusty star on an end lies nearby. + +> 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 + +You're in debris room. + +> 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. + +> take necklace + +OK + +> drop rod + +OK + +> take bird + +OK + +> 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. + +> d + +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. + +> drop rod + +OK + +> drop cage + +OK + +> take cage + +OK + +> take bird + +OK + +> take rod + +OK + +> w + +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! + +> e + +You're in Hall of Mt King. + +> s + +You are in the south side chamber. + +There is precious jewelry here! + +> take jewelry + +OK + +> n + +You're in Hall of Mt King. + +> up + +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 + +You're in Hall of Mists. + +> d + +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! + +> 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. + +A hollow voice says "PLUGH". + +> plugh + +>>Foof!<< + +You're inside building. + +There are some keys on the ground here. + +There is food here. + +There is a bottle of water here. + +> extinguish lamp + +Your lamp is now off. + +> drop coins + +I see no coins here. + +> drop jewelry + +OK + +> drop necklace + +OK + +> drop gold + +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're at "Y2". + +> s + +You're in n/s passage above e/w passage. + +There are bars of silver here! + +> take silver + +OK + +> s + +You're in Hall of Mt King. + +> sw + +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 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. + +There is a little axe here. + +> take axe + +OK + +> 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!! + +> throw axe + +The axe bounces harmlessly off the dragon's thick scales. + +You are in a secret canyon which exits to the north and east. + +There is a little axe here. + +A huge green fierce dragon bars the way! + +The dragon is sprawled out on a persian rug!! + +> take axe + +OK + +> kill dragon + +With what? Your bare hands? + +> y + +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. + +> inven + +You are currently holding the following: +Brass lantern +Wicker cage +Black rod +Little bird in cage +Dwarf's axe +Bars of silver + +> e + +You're in secret e/w canyon above tight canyon. + +> e + +You are in the Hall of the Mountain King, with passages off in all +directions. + +> u + +You're in Hall of Mists. + +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. + +> w + +You are on the west side of the fissure in the Hall of Mists. + +There are diamonds here! + +A crystal bridge now 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. + +> w + +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 + +You are at the west end of a very long featureless hall. The hall +joins up with a narrow north/south passage. + +> s + +You are in a maze of twisty little passages, all different. + +> sw + +You are in a little maze of twisty passages, all different. + +> se + +You are in a little maze of twisting passages, all different. + +> s + +Dead end + +There is a massive and somewhat battered vending machine here. The +instructions on it read: "Drop coins here to receive fresh batteries." + +> throw axe + +There is nothing here to attack. + +> kill machine + +As you strike the vending machine, it pivots backward along with a +section of wall, revealing a dark passage leading south. + +> s + +You are in a long, rough-hewn, north/south corridor. + +> s + +You are in a large chamber with passages to the west and north. + +A formidable ogre bars the northern exit. + +> throw axe + +The ogre, who despite his bulk is quite agile, easily dodges your +attack. He seems almost amused by your puny effort. + +You are in a large chamber with passages to the west and north. + +There is a little axe here. + +A formidable ogre bars the northern exit. + +> take axe + +OK + +> 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. + +> d + +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 now spans the fissure. + +> e + +You're on east bank of fissure. + +A crystal bridge now spans the fissure. + +> e + +You're in Hall of Mists. + +Rough stone steps lead up the dome. + +> n + +You're in Hall of Mt King. + +> 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 n/s passage above e/w passage. + +> take knife + +The dwarves' knives vanish as they strike the walls of the cave. + +> throw axe + +You killed a little dwarf. The body vanishes in a cloud of greasy +black smoke. + +You're in n/s passage above e/w passage. + +There is a little axe here. + +> take axe + +OK + +> 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. + +> w + +You are in a large room full of dusty rocks. There is a big hole in +the floor. There are cracks everywhere, and a passage leading east. + +> d + +You are at a complex junction. A low hands and knees passage from the +north joins a higher crawl from the east to make a walking passage +going west. There is also a large room above. The air is damp here. + +> w + +You are in Bedquilt, a long east/west passage with holes everywhere. +To explore at random select north, south, up, or down. + +> n + +You have crawled around in some little holes and wound up back in the +main passage. + +There is a threatening little dwarf in the room with you! + +You're in Bedquilt. + +> throw axe + +You killed a little dwarf. + +You're in Bedquilt. + +There is a little axe here. + +> take axe + +OK + +> n + +You have crawled around in some little holes and wound up back in the +main passage. + +You're in Bedquilt. + +> n + +You are in a large low room. Crawls lead north, se, and sw. + +> sw + +You are in a long winding corridor sloping out of sight in both +directions. + +> up + +You are on one side of a large, deep chasm. A heavy white mist rising +up from below obscures all view of the far side. A sw path leads away +from the chasm into a winding corridor. + +A rickety wooden bridge extends across the chasm, vanishing into the +mist. A notice posted on the bridge reads, "Stop! Pay troll!" + +A burly troll stands by the bridge and insists you throw him a +treasure before you may cross. + +> throw axe + +The troll deftly catches the axe, examines it carefully, and tosses it +back, declaring, "Good workmanship, but it's not valuable enough." + +You're on sw side of chasm. + +There is a little axe here. + +A rickety wooden bridge extends across the chasm, vanishing into the +mist. A notice posted on the bridge reads, "Stop! Pay troll!" + +A burly troll stands by the bridge and insists you throw him a +treasure before you may cross. + +> + + +You scored 105 out of a possible 430, using 105 turns. + +Your score qualifies you as a novice class adventurer. + +To achieve the next higher rating, you need 16 more points. diff --git a/tests/axeorama.log b/tests/axeorama.log new file mode 100644 index 0000000..31b8d96 --- /dev/null +++ b/tests/axeorama.log @@ -0,0 +1,116 @@ +## Test throwing axe at non-dwarves. +n +seed 1838473132 +in +take lamp +xyzzy +on +take rod +e +take cage +w +w +w +drop rod +take bird +take rod +w +free bird +wave rod +take necklace +drop rod +take bird +take rod +d +d +free bird +drop rod +drop cage +take cage +take bird +take rod +w +e +s +take jewelry +n +up +s +take gold +n +d +n +n +plugh +extinguish lamp +drop coins +drop jewelry +drop necklace +drop gold +plugh +on +s +take silver +s +sw +take axe +w +throw axe +take axe +kill dragon +y +inven +e +e +u +# Go to vending machine and ogre from Hall of Mists +w +wave rod +w +w +w +w +s +sw +se +s +throw axe +kill machine +s +s +throw axe +take axe +# Return to Hall of Mists +w +n +n +n +# Vending machine +nw +d +e +e +e +e +e +# Hall of Mists +n +n +take knife +throw axe +take axe +d +w +d +w +# Bedquilt +n +throw axe +take axe +n +n +sw +up +# Troll bridge +throw axe +