From: Eric S. Raymond Date: Tue, 13 Jun 2017 14:05:48 +0000 (-0400) Subject: Add woods hint and hint display to test coverage. X-Git-Tag: 1.1~355 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=593b8e3caab9e946c87c7bea10aac7f72ddfc362;p=open-adventure.git Add woods hint and hint display to test coverage. --- diff --git a/tests/woodshint.chk b/tests/woodshint.chk new file mode 100644 index 0000000..d9d32c1 --- /dev/null +++ b/tests/woodshint.chk @@ -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. diff --git a/tests/woodshint.log b/tests/woodshint.log new file mode 100644 index 0000000..e28d720 --- /dev/null +++ b/tests/woodshint.log @@ -0,0 +1,40 @@ +## Test hinting logic - elicit forest hint +n +seed 2099333241 +n +e +n +s +w +w +w +n +n +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +e +y +y