Trim the illformed test. Still 100% coverage.
This commit is contained in:
parent
2c8aa9668c
commit
3af590e972
2 changed files with 6 additions and 649 deletions
|
@ -153,542 +153,9 @@ There is a bottle of water here.
|
|||
|
||||
What do you want to do with the keys?
|
||||
|
||||
> throw food
|
||||
>
|
||||
You scored 27 out of a possible 430, using 20 turns.
|
||||
|
||||
You aren't carrying it!
|
||||
You are obviously a rank amateur. Better luck next time.
|
||||
|
||||
> nothing food
|
||||
|
||||
OK
|
||||
|
||||
> calm food
|
||||
|
||||
I'm game. Would you care to explain how?
|
||||
|
||||
> walk food
|
||||
|
||||
Where?
|
||||
|
||||
> score food
|
||||
|
||||
Huh?
|
||||
|
||||
> foo food
|
||||
|
||||
I don't know how.
|
||||
|
||||
> brief food
|
||||
|
||||
On what?
|
||||
|
||||
> blast food
|
||||
|
||||
Blasting requires dynamite.
|
||||
|
||||
> find grate
|
||||
|
||||
I can only tell you what you see as you move about and manipulate
|
||||
things. I cannot tell you where remote things are.
|
||||
|
||||
> light food
|
||||
|
||||
I'm afraid I don't understand.
|
||||
|
||||
> lock food
|
||||
|
||||
I don't know how to lock or unlock such a thing.
|
||||
|
||||
> unlock food
|
||||
|
||||
I don't know how to lock or unlock such a thing.
|
||||
|
||||
> extinguish food
|
||||
|
||||
I'm afraid I don't understand.
|
||||
|
||||
> suspend food
|
||||
|
||||
Huh?
|
||||
|
||||
> resume food
|
||||
|
||||
Huh?
|
||||
|
||||
> crawl
|
||||
|
||||
Which way?
|
||||
|
||||
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.
|
||||
|
||||
> out
|
||||
|
||||
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.
|
||||
|
||||
> stream
|
||||
|
||||
You are in a valley in the forest beside a stream tumbling along a
|
||||
rocky bed.
|
||||
|
||||
> lock
|
||||
|
||||
There is nothing here with a lock!
|
||||
|
||||
> take water
|
||||
|
||||
You have nothing in which to carry it.
|
||||
|
||||
> blast
|
||||
|
||||
Blasting requires dynamite.
|
||||
|
||||
> building
|
||||
|
||||
You're in front of building.
|
||||
|
||||
> cave
|
||||
|
||||
I don't know where the cave is, but hereabouts no stream can run on
|
||||
the surface for long. I would try the stream.
|
||||
|
||||
You're in front of building.
|
||||
|
||||
> enter stream
|
||||
|
||||
Your feet are now wet.
|
||||
|
||||
> try three words
|
||||
|
||||
Please stick to 1- and 2-word commands.
|
||||
|
||||
> listen
|
||||
|
||||
The stream is gurgling placidly.
|
||||
|
||||
> carry
|
||||
|
||||
Carry what?
|
||||
|
||||
> forward
|
||||
|
||||
I am unsure how you are facing. Use compass points or nearby objects.
|
||||
|
||||
You're in front of building.
|
||||
|
||||
> eat
|
||||
|
||||
Eat what?
|
||||
|
||||
> drink
|
||||
|
||||
You have taken a drink from the stream. The water tastes strongly of
|
||||
minerals, but is not unpleasant. It is extremely cold.
|
||||
|
||||
> throw keys
|
||||
|
||||
I see no keys here.
|
||||
|
||||
> find keys
|
||||
|
||||
I can only tell you what you see as you move about and manipulate
|
||||
things. I cannot tell you where remote things are.
|
||||
|
||||
> inven keys
|
||||
|
||||
I can only tell you what you see as you move about and manipulate
|
||||
things. I cannot tell you where remote things are.
|
||||
|
||||
> nothing
|
||||
|
||||
OK
|
||||
|
||||
> in
|
||||
|
||||
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.
|
||||
|
||||
> listen
|
||||
|
||||
The stream is gurgling placidly.
|
||||
|
||||
> find keys
|
||||
|
||||
I believe what you want is right here with you.
|
||||
|
||||
> unlock keys
|
||||
|
||||
You can't unlock the keys.
|
||||
|
||||
> find foo
|
||||
|
||||
Nothing happens.
|
||||
|
||||
> find bar
|
||||
|
||||
Sorry, I don't know the word "bar".
|
||||
|
||||
> carry
|
||||
|
||||
Carry what?
|
||||
|
||||
> blast
|
||||
|
||||
Blasting requires dynamite.
|
||||
|
||||
> take bottle
|
||||
|
||||
OK
|
||||
|
||||
> find bottle
|
||||
|
||||
You are already carrying it!
|
||||
|
||||
> drink water
|
||||
|
||||
The bottle of water is now empty.
|
||||
|
||||
> fill bottle
|
||||
|
||||
Your bottle is now full of water.
|
||||
|
||||
> throw axe
|
||||
|
||||
I see no axe here.
|
||||
|
||||
> throw knife
|
||||
|
||||
I see no knife here.
|
||||
|
||||
> lock
|
||||
|
||||
There is nothing here with a lock!
|
||||
|
||||
> unlock
|
||||
|
||||
There is nothing here with a lock!
|
||||
|
||||
> throw
|
||||
|
||||
Throw what?
|
||||
|
||||
> attack
|
||||
|
||||
There is nothing here to attack.
|
||||
|
||||
> unlock chain
|
||||
|
||||
I see no chain here.
|
||||
|
||||
> fill urn
|
||||
|
||||
I see no urn here.
|
||||
|
||||
> eat keys
|
||||
|
||||
Don't be ridiculous!
|
||||
|
||||
> discard keys
|
||||
|
||||
You aren't carrying it!
|
||||
|
||||
> drink keys
|
||||
|
||||
Don't be ridiculous!
|
||||
|
||||
> off keys
|
||||
|
||||
I'm afraid I don't understand.
|
||||
|
||||
> break keys
|
||||
|
||||
It is beyond your power to do that.
|
||||
|
||||
> wake keys
|
||||
|
||||
Don't be ridiculous!
|
||||
|
||||
> take keys
|
||||
|
||||
OK
|
||||
|
||||
> feed keys
|
||||
|
||||
I'm game. Would you care to explain how?
|
||||
|
||||
> fly keys
|
||||
|
||||
I'm game. Would you care to explain how?
|
||||
|
||||
> pour keys
|
||||
|
||||
You can't pour that.
|
||||
|
||||
> throw keys
|
||||
|
||||
OK
|
||||
|
||||
> foo up
|
||||
|
||||
There is no way to go that direction.
|
||||
|
||||
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.
|
||||
|
||||
> get
|
||||
|
||||
Get what?
|
||||
|
||||
> food
|
||||
|
||||
OK
|
||||
|
||||
> eat food
|
||||
|
||||
Thank you, it was delicious!
|
||||
|
||||
> drink blood
|
||||
|
||||
I see no blood here.
|
||||
|
||||
> drink keys
|
||||
|
||||
Don't be ridiculous!
|
||||
|
||||
> light keys
|
||||
|
||||
I'm afraid I don't understand.
|
||||
|
||||
> brief
|
||||
|
||||
Okay, from now on I'll only describe a place in full the first time
|
||||
you come to it. To get the full description, say "look".
|
||||
|
||||
> frob grate
|
||||
|
||||
Sorry, I don't know the word "frob".
|
||||
|
||||
> read grate
|
||||
|
||||
I see no grate here.
|
||||
|
||||
> grate
|
||||
|
||||
I don't know how to apply that word here.
|
||||
|
||||
You're inside building.
|
||||
|
||||
There are some keys on the ground here.
|
||||
|
||||
There is a shiny brass lamp nearby.
|
||||
|
||||
> pour bottle
|
||||
|
||||
Your bottle is empty and the ground is wet.
|
||||
|
||||
> fill bottle
|
||||
|
||||
Your bottle is now full of water.
|
||||
|
||||
> building
|
||||
|
||||
I don't know how to apply that word here.
|
||||
|
||||
You're inside building.
|
||||
|
||||
There are some keys on the ground here.
|
||||
|
||||
There is a shiny brass lamp nearby.
|
||||
|
||||
> on
|
||||
|
||||
Your lamp is now on.
|
||||
|
||||
> pour bottle
|
||||
|
||||
Your bottle is empty and the ground is wet.
|
||||
|
||||
> xyzzy
|
||||
|
||||
>>Foof!<<
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> take rod
|
||||
|
||||
OK
|
||||
|
||||
> wave rod
|
||||
|
||||
Nothing happens.
|
||||
|
||||
> listen
|
||||
|
||||
All is silent.
|
||||
|
||||
> quit
|
||||
|
||||
Do you really want to quit now?
|
||||
|
||||
> n
|
||||
|
||||
OK
|
||||
|
||||
> read
|
||||
|
||||
Read what?
|
||||
|
||||
> look
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> l
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> x
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> i
|
||||
|
||||
You are currently holding the following:
|
||||
Black rod
|
||||
Small bottle
|
||||
|
||||
> news
|
||||
|
||||
Open Adventure is an author-approved open-source release of
|
||||
Version 2.5 with, as yet, no gameplay changes.
|
||||
Version 2.5 was essentially the same as Version II; the cave and the
|
||||
hazards therein are unchanged, and top score is still 430 points.
|
||||
There are a few more hints, especially for some of the more obscure
|
||||
puzzles. There are a few minor bugfixes and cosmetic changes. You
|
||||
can now save a game and resume it at once (formerly you had to wait a
|
||||
while first), but it now costs you a few points each time you save the
|
||||
game. Saved games are now stored in much smaller files than before.
|
||||
|
||||
> go back
|
||||
|
||||
>>Foof!<<
|
||||
|
||||
You're inside building.
|
||||
|
||||
There are some keys on the ground here.
|
||||
|
||||
There is a lamp shining nearby.
|
||||
|
||||
> fuck
|
||||
|
||||
Watch it!
|
||||
|
||||
> walk
|
||||
|
||||
Where?
|
||||
|
||||
> fly
|
||||
|
||||
Though you flap your arms furiously, it is to no avail.
|
||||
|
||||
> say boo
|
||||
|
||||
Okay, "boo".
|
||||
|
||||
> score
|
||||
|
||||
You have garnered 27 out of a possible 430 points, using 117 turns.
|
||||
|
||||
> z
|
||||
|
||||
OK
|
||||
|
||||
> score
|
||||
|
||||
You have garnered 27 out of a possible 430 points, using 119 turns.
|
||||
|
||||
> quit keys
|
||||
|
||||
Huh?
|
||||
|
||||
> out
|
||||
|
||||
You're in front of building.
|
||||
|
||||
> s
|
||||
|
||||
You're in valley.
|
||||
|
||||
> s
|
||||
|
||||
At your feet all the water of the stream splashes into a 2-inch slit
|
||||
in the rock. Downstream the streambed is bare rock.
|
||||
|
||||
> down
|
||||
|
||||
You don't fit through a two-inch slit!
|
||||
|
||||
You're at slit in streambed.
|
||||
|
||||
> s
|
||||
|
||||
You are in a 20-foot depression floored with bare dirt. Set into the
|
||||
dirt is a strong steel grate mounted in concrete. A dry streambed
|
||||
leads into the depression.
|
||||
|
||||
The grate is locked.
|
||||
|
||||
> in
|
||||
|
||||
You can't go through a locked steel grate!
|
||||
|
||||
You're outside grate.
|
||||
|
||||
The grate is locked.
|
||||
|
||||
> seed -123
|
||||
|
||||
Seed set to -123
|
||||
|
||||
You're outside grate.
|
||||
|
||||
The grate is locked.
|
||||
|
||||
> no
|
||||
|
||||
OK
|
||||
|
||||
Are you trying to get into the cave?
|
||||
|
||||
> quit
|
||||
|
||||
Please answer the question.
|
||||
|
||||
Are you trying to get into the cave?
|
||||
|
||||
> yes
|
||||
|
||||
I am prepared to give you a hint, but it will cost you 2 points.
|
||||
|
||||
Do you want the hint?
|
||||
|
||||
>
|
||||
To achieve the next higher rating, you need 19 more points.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
## Test for various cases not found in walkthroughs.
|
||||
#NOCOMPARE This is busted under advent430 -- see comments within.
|
||||
foo
|
||||
|
||||
y
|
||||
|
@ -13,6 +14,7 @@ say rub
|
|||
say grate
|
||||
_
|
||||
back
|
||||
# advent430 doesn't have this command
|
||||
waste
|
||||
eat grate
|
||||
23
|
||||
|
@ -28,115 +30,3 @@ say fum
|
|||
# Meant to evoke "I don't know in from out here."
|
||||
in
|
||||
keys
|
||||
throw food
|
||||
nothing food
|
||||
calm food
|
||||
walk food
|
||||
score food
|
||||
foo food
|
||||
brief food
|
||||
blast food
|
||||
find grate
|
||||
light food
|
||||
lock food
|
||||
unlock food
|
||||
extinguish food
|
||||
suspend food
|
||||
resume food
|
||||
crawl
|
||||
out
|
||||
stream
|
||||
lock
|
||||
take water
|
||||
blast
|
||||
building
|
||||
cave
|
||||
enter stream
|
||||
try three words
|
||||
listen
|
||||
carry
|
||||
forward
|
||||
eat
|
||||
drink
|
||||
throw keys
|
||||
find keys
|
||||
inven keys
|
||||
nothing
|
||||
in
|
||||
listen
|
||||
find keys
|
||||
unlock keys
|
||||
find foo
|
||||
find bar
|
||||
carry
|
||||
blast
|
||||
take bottle
|
||||
find bottle
|
||||
drink water
|
||||
fill bottle
|
||||
throw axe
|
||||
throw knife
|
||||
lock
|
||||
unlock
|
||||
throw
|
||||
attack
|
||||
unlock chain
|
||||
fill urn
|
||||
eat keys
|
||||
discard keys
|
||||
drink keys
|
||||
off keys
|
||||
break keys
|
||||
wake keys
|
||||
take keys
|
||||
feed keys
|
||||
fly keys
|
||||
pour keys
|
||||
throw keys
|
||||
foo up
|
||||
get
|
||||
food
|
||||
eat food
|
||||
drink blood
|
||||
drink keys
|
||||
light keys
|
||||
brief
|
||||
frob grate
|
||||
read grate
|
||||
grate
|
||||
pour bottle
|
||||
fill bottle
|
||||
building
|
||||
on
|
||||
pour bottle
|
||||
xyzzy
|
||||
take rod
|
||||
wave rod
|
||||
listen
|
||||
quit
|
||||
n
|
||||
read
|
||||
look
|
||||
l
|
||||
x
|
||||
i
|
||||
news
|
||||
go back
|
||||
fuck
|
||||
walk
|
||||
fly
|
||||
say boo
|
||||
score
|
||||
z
|
||||
score
|
||||
quit keys
|
||||
out
|
||||
s
|
||||
s
|
||||
down
|
||||
s
|
||||
in
|
||||
seed -123
|
||||
no
|
||||
quit
|
||||
yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue