Add woods hint and hint display to test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-13 10:05:48 -04:00
parent 6c1eadcd67
commit 593b8e3caa
2 changed files with 220 additions and 0 deletions

180
tests/woodshint.chk Normal file
View file

@ -0,0 +1,180 @@
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 2099333241
Seed set to 2099333241
You're in front of building.
> n
You are wandering aimlessly through the forest.
> e
You're in front of building.
> n
You are wandering aimlessly through the forest.
> s
You are wandering aimlessly through the forest.
> w
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 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.
> n
At your feet all the water of the stream splashes into a 2-inch slit
in the rock. Downstream the streambed is bare rock.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
> e
You are wandering aimlessly through the forest.
Would you like to be shown out of the forest?
> e
Please answer the question.
Would you like to be shown out of the forest?
> y
I am prepared to give you a hint, but it will cost you 2 points.
Do you want the hint?
> y
Go east ten times. If that doesn't get you out, then go south, then
west twice, then south.
You scored 30 out of a possible 430, using 34 turns.
You are obviously a rank amateur. Better luck next time.
To achieve the next higher rating, you need 16 more points.