From fefc1ff486b221cbcbcbb8c7b1afd23a06e30863 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 15 Jul 2017 13:00:48 -0400 Subject: [PATCH] Improve symbol coverage. --- tests/bearbridge.chk | 93 +++++++++++++++++++++++++++++++++++++++++++- tests/bearbridge.log | 18 ++++++++- tests/defeat.chk | 35 +++++++++-------- tests/defeat.log | 1 + 4 files changed, 127 insertions(+), 20 deletions(-) diff --git a/tests/bearbridge.chk b/tests/bearbridge.chk index c7088dc..5ce6f9f 100644 --- a/tests/bearbridge.chk +++ b/tests/bearbridge.chk @@ -1869,7 +1869,24 @@ of the chasm. The troll is nowhere to be seen. -> +> over + +There is no longer any way across the chasm. + +You're on sw side of chasm. + +There is an empty bottle here. + +Off to one side lies a glistening pearl! + +There are rare spices here! + +There is a golden chain lying in a heap on the floor! + +The wreckage of a bridge (and a dead bear) can be seen at the bottom +of the chasm. + +The troll is nowhere to be seen. > feed bear @@ -1879,8 +1896,80 @@ Don't be ridiculous! For crying out loud, the poor thing is already dead! +> sw + +You're in sloping corridor. + +> d + +You're in large low room. + +> se + +You're in Oriental Room. + +> se + +You're in Swiss Cheese Room. + +There is a little axe here. + +> ne + +You are in Bedquilt, a long east/west passage with holes everywhere. +To explore at random select north, south, up, or down. + +> e + +You're at complex junction. + +> up + +You're in dusty rock room. + +> e + +You're in dirty passage. + +> up + +You are in a low n/s passage at a hole in the floor. The hole goes +down to an e/w passage. + +> s + +You're in Hall of Mt King. + +> up + +You're in Hall of Mists. + +Rough stone steps lead up the dome. + +> w + +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. + +> take rod + +OK + +> wave rod + +The crystal bridge has vanished! + +> across + +There is no way across the fissure. + +You're on east bank of fissure. + -You scored 243 out of a possible 430, using 303 turns. +You scored 243 out of a possible 430, using 319 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/bearbridge.log b/tests/bearbridge.log index 357ef14..5069b98 100644 --- a/tests/bearbridge.log +++ b/tests/bearbridge.log @@ -305,6 +305,22 @@ bedquilt n sw up - +over feed bear attack bear +# Back to fissure to test OVER +sw +d +se +se +ne +e +up +e +up +s +up +w +take rod +wave rod +across diff --git a/tests/defeat.chk b/tests/defeat.chk index bd5732d..344a2bf 100644 --- a/tests/defeat.chk +++ b/tests/defeat.chk @@ -2456,10 +2456,10 @@ You are at Witt's End. Passages lead off in *ALL* directions. OK -> e +> w -You have crawled around in some little holes and wound up back in the -main passage. +You have crawled around in some little holes and found your way +blocked by a recent cave-in. You are now back in the main passage. You're at Witt's End. @@ -2548,8 +2548,9 @@ There are a few recent issues of "Spelunker Today" magazine here. > e -You have crawled around in some little holes and wound up back in the -main passage. +You're in anteroom. + +> e You're at Witt's End. @@ -2593,13 +2594,13 @@ There are a few recent issues of "Spelunker Today" magazine here. > e +A sepulchral voice reverberating through the cave, says, "Cave closing +soon. All adventurers exit immediately through main office." + You're in anteroom. > u -A sepulchral voice reverberating through the cave, says, "Cave closing -soon. All adventurers exit immediately through main office." - 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. @@ -2641,14 +2642,14 @@ narrow tunnel exits to the west. A dark corridor leads ne. > e +Your lamp has run out of power. + There is no way to go that direction. You're in Plover Room. > e -Your lamp has run out of power. - There is no way to go that direction. You're in Plover Room. @@ -2897,12 +2898,6 @@ You're in Plover Room. > e -There is no way to go that direction. - -You're in Plover Room. - -> e - The sepulchral voice intones, "The cave is now closed." As the echoes fade, there is a blinding flash of light (and a small puff of orange smoke). . . . As your eyes refocus, you look around and find... @@ -2919,6 +2914,12 @@ not disturb the dwarves!" An immense mirror is hanging against one wall, and stretches to the other end of the room, where various other sundry objects can be glimpsed dimly in the distance. +> e + +There is no way to go that direction. + +You're at ne end. + > take oyster OK @@ -3014,7 +3015,7 @@ There is a loud explosion, and a twenty-foot hole appears in the far wall, burying the snakes in the rubble. A river of molten lava pours in through the hole, destroying everything in its path, including you! -You scored 399 out of a possible 430, using 478 turns. +You scored 399 out of a possible 430, using 479 turns. Your score puts you in Master Adventurer Class B. diff --git a/tests/defeat.log b/tests/defeat.log index c758034..687e5c8 100644 --- a/tests/defeat.log +++ b/tests/defeat.log @@ -402,6 +402,7 @@ read sign take magazine e drop magazine +w e e e -- 2.31.1