Simplify code, improve test coverage.
[open-adventure.git] / tests / illformed.chk
index 279f06f4a71fe9bffc7897dcdb451f7f2af9327a..79b6cd74db05ee511235244da5d95a9be48ab06c 100644 (file)
@@ -7,7 +7,20 @@ Please answer the question.
 
 Welcome to Adventure!!  Would you like instructions?
 
-> n
+> y
+
+Somewhere nearby is Colossal Cave, where others have found fortunes in
+treasure and gold, though it is rumored that some who enter are never
+seen again.  Magic is said to work in the cave.  I will be your eyes
+and hands.  Direct me with commands of 1 or 2 words.  I should warn
+you that I look at only the first five letters of each word, so you'll
+have to enter "northeast" as "ne" to distinguish it from "north".
+You can type "help" for some general hints.  For information on how
+to end your adventure, scoring, etc., type "info".
+                             - - -
+This program was originally developed by Willie Crowther.  Most of the
+features of the current program were added by Don Woods.  Contact Don
+if you have any questions, comments, etc.
 
 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
@@ -18,22 +31,43 @@ Seed set to 1801426495
 
 You're in front of building.
 
+> stream
+
+You are in a valley in the forest beside a stream tumbling along a
+rocky bed.
+
+> take water
+
+You have nothing in which to carry it.
+
 > 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.
+You're in valley.
+
+> 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.
+You're in valley.
 
 > eat
 
@@ -44,22 +78,30 @@ Eat what?
 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.
 
-> in
+> inven keys
 
-You are inside a building, a well house for a large spring.
+I can only tell you what you see as you move about and manipulate
+things.  I cannot tell you where remote things are.
 
-There are some keys on the ground here.
+> nothing
 
-There is a shiny brass lamp nearby.
+OK
 
-There is food here.
+> in
 
-There is a bottle of water here.
+I don't know in from out here.  Use compass points or name something
+in the general direction you want to go.
+
+You're in valley.
 
 > listen
 
@@ -67,15 +109,16 @@ The stream is gurgling placidly.
 
 > keys
 
-What do you want to do with the keys?
+I see no keys here.
 
 > find keys
 
-I believe what you want is right here with you.
+I can only tell you what you see as you move about and manipulate
+things.  I cannot tell you where remote things are.
 
 > unlock keys
 
-You can't unlock the keys.
+I see no keys here.
 
 > find foo
 
@@ -93,6 +136,15 @@ Carry what?
 
 Blasting requires dynamite.
 
+> take bottle
+
+I see no bottl here.
+
+> drink water
+
+You have taken a drink from the stream.  The water tastes strongly of
+minerals, but is not unpleasant.  It is extremely cold.
+
 > throw axe
 
 I see no axe here.
@@ -127,62 +179,102 @@ I see no urn here.
 
 > eat keys
 
-Don't be ridiculous!
+I see no keys here.
+
+> discard keys
+
+I see no keys here.
+
+> drink keys
+
+I see no keys here.
 
 > off keys
 
-I'm afraid I don't understand.
+I see no keys here.
 
 > break keys
 
-It is beyond your power to do that.
+I see no keys here.
 
 > wake keys
 
-Don't be ridiculous!
+I see no keys here.
 
 > take keys
 
-OK
+I see no keys here.
+
+> feed keys
+
+I see no keys here.
+
+> fly keys
+
+I see no keys here.
 
 > throw keys
 
-OK
+I see no keys here.
 
 > eat food
 
-Thank you, it was delicious!
+I see no food here.
 
 > drink blood
 
 I see no blood here.
 
+> drink keys
+
+I see no keys here.
+
+> light keys
+
+I see no keys here.
+
 > 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
+
+You're in valley.
+
+> grate
+
+You're in valley.
+
+> building
+
+You're in front of building.
+
 > on
 
-Your lamp is now on.
+On what?
 
 > xyzzy
 
->>Foof!<<
+Nothing happens.
 
-It is now pitch dark.  If you proceed you will likely fall into a pit.
+You're in front of building.
 
 > take rod
 
-OK
+I see no rod here.
 
 > wave rod
 
-Nothing happens.
+I see no rod here.
 
 > listen
 
-All is silent.
+The stream is gurgling placidly.
 
 > quit
 
@@ -198,7 +290,9 @@ Read what?
 
 > look
 
-It is now pitch dark.  If you proceed you will likely fall into a pit.
+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.
 
 > news
 
@@ -214,20 +308,18 @@ game.  Saved games are now stored in much smaller files than before.
 
 > go back
 
->>Foof!<<
+Sorry, but I no longer seem to remember how it was you got here.
 
-You're inside building.
-
-There are some keys on the ground here.
-
-There is a lamp shining nearby.
-
-There is a bottle of water here.
+You're in front of building.
 
 > fuck
 
 Watch it!
 
+> walk
+
+Where?
+
 > fly
 
 Though you flap your arms furiously, it is to no avail.
@@ -238,7 +330,11 @@ Okay, "BOO".
 
 > score
 
-You have garnered 32 out of a possible 430 points, using 46 turns.
+You have garnered 27 out of a possible 430 points, using 66 turns.
+
+> quit keys
+
+I see no keys here.
 
 > quit
 
@@ -248,8 +344,8 @@ Do you really want to quit now?
 
 OK
 
-You scored 32 out of a possible 430, using 47 turns.
+You scored 27 out of a possible 430, using 68 turns.
 
 You are obviously a rank amateur.  Better luck next time.
 
-To achieve the next higher rating, you need 14 more points.
+To achieve the next higher rating, you need 19 more points.