From: NHOrus Date: Fri, 7 Jul 2017 19:41:53 +0000 (+0300) Subject: Fuzzed tests for two of untested hint conditions X-Git-Tag: 2017-07-10~29 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F223%2Fhead;p=open-adventure.git Fuzzed tests for two of untested hint conditions --- diff --git a/tests/hint_dark.chk b/tests/hint_dark.chk new file mode 100644 index 0000000..ba37865 --- /dev/null +++ b/tests/hint_dark.chk @@ -0,0 +1,157 @@ + +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 1495951709 +Seed set to 1495951709 + +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. + +> plugh + +>>Foof!<< + +It is now pitch dark. If you proceed you will likely fall into a pit. + +> 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! + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +Are you trying to explore beyond the plover room? + +> y + +I am prepared to give you a hint, but it will cost you 5 points. + +Do you want the hint? + +> y + +There is a way to explore that region without having to worry about +falling into a pit. None of the objects available is immediately +useful in discovering the secret. + + +You scored 54 out of a possible 430, using 27 turns. + +Your score qualifies you as a novice class adventurer. + +To achieve the next higher rating, you need 67 more points. diff --git a/tests/hint_dark.log b/tests/hint_dark.log new file mode 100644 index 0000000..b522b90 --- /dev/null +++ b/tests/hint_dark.log @@ -0,0 +1,32 @@ +## Elicit hint for dealing with plugh room and darkness (fuzzed) +n +seed 1495951709 +in +plugh +plove +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +z +y +y \ No newline at end of file diff --git a/tests/hint_urn.chk b/tests/hint_urn.chk new file mode 100644 index 0000000..74a8ac6 --- /dev/null +++ b/tests/hint_urn.chk @@ -0,0 +1,81 @@ + +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 1495951709 +Seed set to 1495951709 + +You're in front of building. + +> u + +You have walked up a hill, still in the forest. The road slopes back +down the other side of the hill. There is a building in the distance. + +> n + +You are wandering aimlessly through the forest. + +> n + +You are wandering aimlessly through the forest. + +> n + +The forest thins out here to reveal a steep cliff. There is no way +down, but a small ledge can be seen to the west across the chasm. + +A small urn is embedded in the rock. + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +> z + +OK + +Are you wondering what to do here? + +> y + +I am prepared to give you a hint, but it will cost you 2 points. + +Do you want the hint? + +> y + +This section is quite advanced. Find the cave first. + + + +You scored 30 out of a possible 430, using 11 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/hint_urn.log b/tests/hint_urn.log new file mode 100644 index 0000000..8154e71 --- /dev/null +++ b/tests/hint_urn.log @@ -0,0 +1,16 @@ +## Elicit hint for dealing with urn (fuzzed) +n +seed 1495951709 +u +n +n +n +z +z +z +z +z +z +z +y +y \ No newline at end of file