LOC_* coverage - at 98.4%

This commit is contained in:
Aaron Traas 2017-07-11 17:35:23 -04:00
parent 3a7ce1b73a
commit 92ddbba212
22 changed files with 3564 additions and 172 deletions

View file

@ -65,6 +65,18 @@ A low crawl over cobbles leads inward to the west.
The grate is open.
> u
You're outside grate.
The grate is open.
> d
You're below the grate.
The grate is open.
> w
You are crawling over cobbles in a low passage. There is a dim light
@ -106,6 +118,15 @@ passage ends here except for a small crack leading on.
Rough stone steps lead down the pit.
> crack
The crack is far too small for you to follow. At its widest it is
barely wide enough to admit your foot.'
You're at top of small pit.
Rough stone steps lead down the pit.
> down
You are at one end of a vast hall stretching forward out of sight to
@ -133,7 +154,7 @@ to try to reincarnate you?
OK
You scored 51 out of a possible 430, using 18 turns.
You scored 51 out of a possible 430, using 21 turns.
Your score qualifies you as a novice class adventurer.

View file

@ -10,12 +10,17 @@ s
s
open grate
d
# go back up and down again because of coverage
u
d
w
w
light lamp
w
w
w
# attempt and fail to traverse the crack because coverage
crack
down
w
jump

173
tests/domefail.chk Normal file
View file

@ -0,0 +1,173 @@
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.
> 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.
A three foot black rod with a rusty star on an end lies nearby.
> 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.
> take
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.
> 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.
> 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.
A cheerful little bird is sitting here singing.
> s
You are in the south side chamber.
There is precious jewelry here!
> n
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> u
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 nugget
OK
> n
You're in Hall of Mists.
> dome
The dome is unclimbable.
You're in Hall of Mists.
> u
The dome is unclimbable.
You're in Hall of Mists.
You scored 63 out of a possible 430, using 24 turns.
Your score qualifies you as a novice class adventurer.
To achieve the next higher rating, you need 58 more points.

27
tests/domefail.log Normal file
View file

@ -0,0 +1,27 @@
## Take nugget and fail to climb to the dome
n
seed 1838473132
in
take lamp
xyzzy
on
e
take cage
w
w
w
take
w
d
d
free bird
w
e
s
n
u
s
take nugget
n
dome
u

View file

@ -424,8 +424,18 @@ OK
The nest of golden eggs has vanished!
> s
You scored 67 out of a possible 430, using 64 turns.
You're in Giant Room.
There is a large nest here, full of golden eggs!
> e
The passage here is blocked by a recent cave-in.
You scored 67 out of a possible 430, using 66 turns.
Your score qualifies you as a novice class adventurer.

View file

@ -64,4 +64,7 @@ n
fee
fie
foe
foo
foo
# go south, east to arrive at LOC_CAVEIN for coverage
s
e

782
tests/footslip.chk Normal file
View file

@ -0,0 +1,782 @@
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.
> 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.
> 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!
> take coins
OK
> e
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> s
You are in the south side chamber.
There is precious jewelry here!
> take n
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> u
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!
> n
You're in Hall of Mists.
Rough stone steps lead up the dome.
> d
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> 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.
> extin
Your lamp is now off.
> 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!
> s
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> 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
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!!
> kill drago
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.
> 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.
A cheerful little bird is sitting here singing.
> u
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.
Rough stone steps lead up the dome.
> d
There is a threatening little dwarf in the room with you!
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> n
There is a threatening little dwarf in the room with you!
You're in n/s passage above e/w passage.
There are bars of silver here!
> 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 some keys on the ground here.
There is food here.
There is a bottle of water here.
> 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.
> 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 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.
> on
Your lamp is now on.
You're at "Y2".
> plove
>>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!
> s
There is no way to go that direction.
You're in Plover Room.
There is an emerald here the size of a plover's egg!
> plove
>>Foof!<<
You're at "Y2".
> s
You're in n/s passage above e/w passage.
There are bars of silver here!
> s
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> 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
A crystal bridge now spans the fissure.
> west
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.
> 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.
> s
You are in a maze of twisting little passages, all different.
> e
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."
> kill machi
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.
> n
The ogre snarls and shoves you back.
You are in a large chamber with passages to the west and north.
A formidable ogre bars the northern exit.
> s
There is no way to go that direction.
You are in a large chamber with passages to the west and north.
A formidable ogre bars the northern exit.
> 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 spans the fissure.
> e
You're on east bank of fissure.
A crystal bridge spans the fissure.
> e
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.
> n
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> n
You're in n/s passage above 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".
> 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 some keys on the ground here.
There is food here.
> 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 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!
> s
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> u
You're in Hall of Mists.
Rough stone steps lead up the dome.
> n
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 are in the Hall of the Mountain King, with passages off in all
directions.
A cheerful little bird is sitting here singing.
> n
You're in n/s passage above e/w passage.
There are bars of silver here!
> 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.
> bedqu
There is a threatening little dwarf in the room with you!
You are in Bedquilt, a long east/west passage with holes everywhere.
To explore at random select north, south, up, or down.
> throw axe
You killed a little dwarf. The body vanishes in a cloud of greasy
black smoke.
You're in Bedquilt.
There is a little axe here.
> 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.
> reser
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.
> H'CFL
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.
> w
There is no way to go that direction.
You're north of reservoir.
The waters have parted to form a narrow path across the reservoir.
> u
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
tumble several hundred feet to join the other unlucky adventurers.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?

125
tests/footslip.log Normal file
View file

@ -0,0 +1,125 @@
## Coverage of LOC_FOOTSLIP
n
seed 1838473132
in
take lamp
xyzzy
on
take rod
e
take cage
w
w
w
drop rod
take bird
take rod
w
d
d
free bird
w
take coins
e
s
take n
u
s
n
d
n
n
plugh
extin
plugh
on
s
s
sw
take
w
kill drago
y
e
e
u
d
n
n
off
plugh
out
s
w
n
s
s
n
in
take water
plugh
on
plove
s
plove
s
s
u
w
wave rod
west
w
w
w
s
s
e
s
kill machi
s
s
n
s
w
n
n
n
nw
d
e
e
e
e
e
n
n
n
off
plugh
plugh
on
s
s
u
n
n
d
bedqu
throw axe
slab
s
d
water plant
u
w
u
reser
H'CFL
n
n
w
u
u
u
u
u

View file

@ -1419,6 +1419,30 @@ The path forks here. The left fork leads northeast. A dull rumbling
seems to get louder in that direction. The right fork leads southeast
down a gentle slope. The main corridor enters from the west.
> d
You are being followed by a very large, tame bear.
You are walking along a gently sloping north/south passage lined with oddly shaped limestone formations.
> fork
You are being followed by a very large, tame bear.
You're at fork in path.
> d
You are being followed by a very large, tame bear.
You're in limestone passage.
> fork
You are being followed by a very large, tame bear.
You're at fork in path.
> ne
You are being followed by a very large, tame bear.

View file

@ -230,6 +230,11 @@ feed bear
unloc
take bear
fork
# next 4 lines are for coverage of LOC_LIMESTONE
d
fork
d
fork
ne
e
fork

View file

@ -382,139 +382,88 @@ You're in Plover Room.
There is an emerald here the size of a plover's egg!
> dark
You're in dark-room.
A massive stone tablet imbedded in the wall reads:
"Congratulations on bringing light into the dark-room!"
> s
You're in Plover Room.
There is an emerald here the size of a plover's egg!
> plover
>>Foof!<<
There is a threatening little dwarf in the room with you!
You're at "Y2".
A hollow voice says "PLUGH".
> s
There is a threatening little dwarf in the room with you!
You're in n/s passage above e/w passage.
> d
There is a threatening little dwarf in the room with you!
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
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 dirty passage.
You're in n/s passage above e/w passage.
> u
There are 2 threatening little dwarves in the room with you.
There is no way to go that direction.
You're in n/s passage above e/w passage.
> throw axe
You attack a little dwarf, but he dodges out of the way.
There are 2 threatening little dwarves in the room with you.
2 of them throw knives at you!
None of them hits you!
You're in n/s passage above e/w passage.
There is a little axe here.
There is nothing here to attack.
> take axe
OK
You are already carrying it!
> throw axe
You attack a little dwarf, but he dodges out of the way.
There are 2 threatening little dwarves in the room with you.
2 of them throw knives at you!
None of them hits you!
You're in n/s passage above e/w passage.
There is a little axe here.
There is nothing here to attack.
> take axe
OK
You are already carrying it!
> throw axe
You attack a little dwarf, but he dodges out of the way.
There are 2 threatening little dwarves in the room with you.
2 of them throw knives at you!
None of them hits you!
You are in a low n/s passage at a hole in the floor. The hole goes
down to an e/w passage.
There is a little axe here.
There is nothing here to attack.
> take axe
OK
You are already carrying it!
> throw axe
You killed a little dwarf. The body vanishes in a cloud of greasy
black smoke.
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.
There is a little axe here.
There is nothing here to attack.
> take axe
OK
You are already carrying it!
> s
There is a threatening little dwarf in the room with you!
You're in Hall of Mt King.
> e
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.
@ -527,8 +476,6 @@ OK
> 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!
@ -537,8 +484,6 @@ A crystal bridge spans the fissure.
> w
There is a threatening little dwarf in the room with you!
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.
@ -547,6 +492,10 @@ passage 6 feet off the floor.
There is a threatening little dwarf in the room with you!
One sharp nasty knife is thrown at you!
It misses!
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.
@ -688,12 +637,16 @@ A crystal bridge spans the fissure.
> e
There is a threatening little dwarf in the room with you!
You're in Hall of Mists.
Rough stone steps lead up the dome.
> s
There is a threatening little dwarf in the room with you!
This is a low room with a crude note on the wall. The note says,
"You won't get it up the steps".
@ -705,173 +658,206 @@ You can't carry anything more. You'll have to drop something first.
> n
You're in Hall of Mists.
A little dwarf with a big knife blocks your way.
Rough stone steps lead up the dome.
There is a threatening little dwarf in the room with you!
One sharp nasty knife is thrown at you!
It misses!
You're in nugget-of-gold room.
There is a large sparkling nugget of gold here!
> y2
You are in a jumble of rock, with cracks everywhere.
I don't know how to apply that word here.
There is a threatening little dwarf in the room with you!
One sharp nasty knife is thrown at you!
It misses!
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> d
You're at "Y2".
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> plugh
>>Foof!<<
Please answer the question.
You're inside building.
There is a persian rug spread out on the floor!
A precious jade necklace has been dropped here!
There is precious jewelry here!
There are bars of silver here!
There are some keys on the ground here.
There is food here.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> drop diamonds
OK
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> drop pyramid
OK
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> drop ruby
OK
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> plugh
>>Foof!<<
Please answer the question.
You're at "Y2".
A hollow voice says "PLUGH".
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> plugh
>>Foof!<<
Please answer the question.
You're inside building.
There is an enormous ruby here!
There is a platinum pyramid here, 8 inches on a side!
There are diamonds here!
There is a persian rug spread out on the floor!
A precious jade necklace has been dropped here!
There is precious jewelry here!
There are bars of silver here!
There are some keys on the ground here.
There is food here.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> drop coins
I see no coins here.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> plugh
>>Foof!<<
Please answer the question.
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.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> s
You're in n/s passage above e/w passage.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> d
You're in dirty passage.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> bedquilt
You are in Bedquilt, a long east/west passage with holes everywhere.
To explore at random select north, south, up, or down.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> 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.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> 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.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> 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.
Please answer the question.
There is a tiny little plant in the pit, murmuring "water, water, ..."
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> water plant
The plant spurts into furious growth for a few seconds.
Please answer the question.
You're in west pit.
There is a 12-foot-tall beanstalk stretching up out of the pit,
bellowing "WATER!! WATER!!"
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> u
You're at west end of Twopit Room.
Please answer the question.
The top of a 12-foot-tall beanstalk is poking out of the west pit.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> w
You're in Slab Room.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> u
You are in a secret n/s canyon above a large room.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> 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.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> Q'IBJ
The waters have parted to form a narrow path across the reservoir.
Please answer the question.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?
> 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.
OK
> listen
You scored 117 out of a possible 430, using 114 turns.
The roaring is so loud that it drowns out all other sound.
Your score qualifies you as a novice class adventurer.
You scored 161 out of a possible 430, using 135 turns.
You have achieved the rating: "Experienced Adventurer".
To achieve the next higher rating, you need 10 more points.
To achieve the next higher rating, you need 4 more points.

View file

@ -67,6 +67,8 @@ ne
take axe
take pyramid
s
dark
s
plover
s
d

231
tests/parallel1.chk Normal file
View file

@ -0,0 +1,231 @@
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.

40
tests/parallel1.log Normal file
View file

@ -0,0 +1,40 @@
## 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

279
tests/smallpit.chk Normal file
View file

@ -0,0 +1,279 @@
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.
> 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.
A three foot black rod with a rusty star on an end lies nearby.
> 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.
> take
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.
> 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.
> 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.
A cheerful little bird is sitting here singing.
> s
You are in the south side chamber.
There is precious jewelry here!
> n
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> u
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!
> n
You're in Hall of Mists.
Rough stone steps lead up the dome.
> d
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> 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.
> extin
Your lamp is now off.
> 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".
> 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.
> take water
OK
> plugh
>>Foof!<<
You're at "Y2".
> plugh
>>Foof!<<
You're inside building.
There are some keys on the ground here.
There is food here.
> plugh
>>Foof!<<
You're at "Y2".
> s
You're in n/s passage above e/w passage.
There are bars of silver here!
> 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.
> crawl
You are on the brink of a small clean climbable pit. A crawl leads
west.
> pit
You are in the bottom of a small pit with a little stream, which
enters and exits through tiny slits.
> listen
The stream is gurgling placidly.
> out
You're at brink of small pit.
> pit
You're at bottom of pit with stream.
You scored 65 out of a possible 430, using 40 turns.
Your score qualifies you as a novice class adventurer.
To achieve the next higher rating, you need 56 more points.

43
tests/smallpit.log Normal file
View file

@ -0,0 +1,43 @@
## Coverage of LOC_SMALLPIT and LOC_SMALLPITBRINK
n
seed 1838473132
in
take lamp
xyzzy
on
e
take cage
w
w
w
take
w
d
d
free bird
w
e
s
n
u
s
n
d
n
n
plugh
extin
plugh
on
plugh
take water
plugh
plugh
plugh
s
d
crawl
pit
listen
out
pit

1031
tests/tall.chk Normal file

File diff suppressed because it is too large Load diff

167
tests/tall.log Normal file
View file

@ -0,0 +1,167 @@
## Coverage of LOC_TALL, LOC_WIDEPLACE, LOC_TIGHTPLACE
n
seed 1838473132
in
take lamp
xyzzy
on
take rod
e
take cage
w
w
w
drop rod
take bird
take rod
w
d
d
free bird
w
take coins
e
s
take n
u
s
n
d
n
n
plugh
extin
plugh
on
s
s
sw
take
w
kill drago
y
e
e
u
d
n
n
off
plugh
out
s
w
n
s
s
n
in
take water
plugh
on
plove
s
plove
s
s
u
w
wave rod
west
w
w
w
s
s
e
s
kill machi
s
s
n
s
w
n
n
n
nw
d
e
e
e
e
e
n
n
n
off
plugh
plugh
on
s
s
u
n
n
d
bedqu
throw axe
slab
s
d
water plant
u
w
u
reser
H'CFL
n
n
w
u
u
u
u
w
d
d
d
d
d
take water
s
s
s
s
d
s
d
water plant
u
e
d
get oil
u
w
d
climb
w
n
oil door
d
n
w
d
se
n
w
nw
s
e
se
canyon
e
s
n
n
w

343
tests/threejunction.chk Normal file
View file

@ -0,0 +1,343 @@
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.
> downs
The stream flows out through a pair of 1 foot diameter sewer pipes.
It would be advisable to use the exit.
You're inside building.
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.
> 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.
A three foot black rod with a rusty star on an end lies nearby.
> 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.
> take
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.
> 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.
> 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.
A cheerful little bird is sitting here singing.
> s
You are in the south side chamber.
There is precious jewelry here!
> n
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> u
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!
> n
You're in Hall of Mists.
Rough stone steps lead up the dome.
> d
You're in Hall of Mt King.
A cheerful little bird is sitting here singing.
> 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.
> extin
Your lamp is now off.
> 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".
> 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.
> take water
OK
> plugh
>>Foof!<<
You're at "Y2".
> plugh
>>Foof!<<
You're inside building.
There are some keys on the ground here.
There is food here.
> plugh
>>Foof!<<
You're at "Y2".
> s
You're in n/s passage above e/w passage.
There are bars of silver here!
> 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.
> bedqu
You are in Bedquilt, a long east/west passage with holes everywhere.
To explore at random select north, south, up, or down.
> n
You are in a secret canyon at a junction of three canyons, bearing
north, south, and se. The north one is as tall as the other two
combined.
> n
You're at a low window overlooking a huge pit, which extends up out of
sight. A floor is indistinctly visible over 50 feet below. Traces of
white mist cover the floor of the pit, becoming thicker to the left.
Marks in the dust around the window would seem to indicate that
someone has been here recently. Directly across the pit from you and
25 feet away there is a similar window looking into a lighted room. A
shadowy figure can be seen there peering back at you.
The shadowy figure seems to be trying to attract your attention.
> w
You're at junction of three secret canyons.
> n
You're at window on pit.
The shadowy figure seems to be trying to attract your attention.
> w
You're at junction of three secret canyons.
> s
You are in a secret n/s canyon above a sizable passage.
> s
A large stalactite extends from the roof and almost reaches the floor
below. You could climb down it, and jump from it to the floor, but
having done so you would be unable to reach it to climb back up.
> n
You are in a secret n/s canyon above a sizable passage.
> s
You're at top of stalactite.
> n
You are in a secret n/s canyon above a sizable passage.
> n
You're at junction of three secret canyons.
> n
You're at window on pit.
The shadowy figure seems to be trying to attract your attention.
> jump
You are at the bottom of the pit with a broken neck.
Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me
to try to reincarnate you?

53
tests/threejunction.log Normal file
View file

@ -0,0 +1,53 @@
## LOC_THREEJUNCTION, LOC_WINDOW2, LOC_SECRET2, LOC_TOPSTALACTITE, LOC_NECKBROKE, LOC_SEWER
n
seed 1838473132
in
downs
take lamp
xyzzy
on
e
take cage
w
w
w
take
w
d
d
free bird
w
e
s
n
u
s
n
d
n
n
plugh
extin
plugh
on
plugh
take water
plugh
plugh
plugh
s
d
bedqu
n
n
w
n
w
s
s
n
s
n
n
n
jump

View file

@ -279,8 +279,42 @@ Do you want the hint?
Go east ten times. If that doesn't get you out, then go south, then
west twice, then south.
> s
You scored 30 out of a possible 430, using 37 turns.
You are wandering aimlessly through the forest.
> w
You are wandering aimlessly through the forest.
> 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.
> n
You are wandering aimlessly through the forest.
> n
The road, which approaches from the east, ends here amid the trees.
> w
You are wandering aimlessly through the forest.
> n
You're at end of road.
You scored 30 out of a possible 430, using 45 turns.
You are obviously a rank amateur. Better luck next time.

View file

@ -56,3 +56,11 @@ e
e
y
y
s
w
w
n
n
n
w
n