Test Coverage - elicit hints for grate and snake
This commit is contained in:
parent
1e643da216
commit
6fe8f98b35
4 changed files with 328 additions and 0 deletions
84
tests/hint_grate.chk
Normal file
84
tests/hint_grate.chk
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
|
||||||
|
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 1495774850
|
||||||
|
Seed set to 1495774850
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
> take lamp
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
> out
|
||||||
|
|
||||||
|
You're in front of building.
|
||||||
|
|
||||||
|
> s
|
||||||
|
|
||||||
|
You are in a valley in the forest beside a stream tumbling along a
|
||||||
|
rocky bed.
|
||||||
|
|
||||||
|
> 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.
|
||||||
|
|
||||||
|
> 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.
|
||||||
|
|
||||||
|
> open grate
|
||||||
|
|
||||||
|
You have no keys!
|
||||||
|
|
||||||
|
> open grate
|
||||||
|
|
||||||
|
You have no keys!
|
||||||
|
|
||||||
|
> open grate
|
||||||
|
|
||||||
|
You have no keys!
|
||||||
|
|
||||||
|
Are you trying to get into the cave?
|
||||||
|
|
||||||
|
> y
|
||||||
|
|
||||||
|
I am prepared to give you a hint, but it will cost you 2 points.
|
||||||
|
|
||||||
|
Do you want the hint?
|
||||||
|
|
||||||
|
> y
|
||||||
|
|
||||||
|
The grate is very solid and has a hardened steel lock. You cannot
|
||||||
|
enter without a key, and there are no keys nearby. I would recommend
|
||||||
|
looking elsewhere for the keys.
|
||||||
|
|
||||||
|
|
||||||
|
You scored 30 out of a possible 430, using 9 turns.
|
||||||
|
|
||||||
|
You are obviously a rank amateur. Better luck next time.
|
||||||
|
|
||||||
|
To achieve the next higher rating, you need 16 more points.
|
14
tests/hint_grate.log
Normal file
14
tests/hint_grate.log
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
## Elicit hint for dealing with grate
|
||||||
|
n
|
||||||
|
seed 1495774850
|
||||||
|
in
|
||||||
|
take lamp
|
||||||
|
out
|
||||||
|
s
|
||||||
|
s
|
||||||
|
s
|
||||||
|
open grate
|
||||||
|
open grate
|
||||||
|
open grate
|
||||||
|
y
|
||||||
|
y
|
199
tests/hint_snake.chk
Normal file
199
tests/hint_snake.chk
Normal file
|
@ -0,0 +1,199 @@
|
||||||
|
|
||||||
|
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 1951269982
|
||||||
|
Seed set to 1951269982
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
> get lamp
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
> get keys
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
> out
|
||||||
|
|
||||||
|
You're in front of building.
|
||||||
|
|
||||||
|
> down
|
||||||
|
|
||||||
|
You are in a valley in the forest beside a stream tumbling along a
|
||||||
|
rocky bed.
|
||||||
|
|
||||||
|
> 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.
|
||||||
|
|
||||||
|
> 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.
|
||||||
|
|
||||||
|
> open
|
||||||
|
|
||||||
|
The grate is now unlocked.
|
||||||
|
|
||||||
|
> in
|
||||||
|
|
||||||
|
You are in a small chamber beneath a 3x3 steel grate to the surface.
|
||||||
|
A low crawl over cobbles leads inward to the west.
|
||||||
|
|
||||||
|
The grate is open.
|
||||||
|
|
||||||
|
> west
|
||||||
|
|
||||||
|
You are crawling over cobbles in a low passage. There is a dim light
|
||||||
|
at the east end of the passage.
|
||||||
|
|
||||||
|
There is a small wicker cage discarded nearby.
|
||||||
|
|
||||||
|
> get cage
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||||
|
|
||||||
|
> on
|
||||||
|
|
||||||
|
Your lamp is now on.
|
||||||
|
|
||||||
|
You are in a debris room filled with stuff washed in from the surface.
|
||||||
|
A low wide passage with cobbles becomes plugged with mud and debris
|
||||||
|
here, but an awkward canyon leads upward and west. In the mud someone
|
||||||
|
has scrawled, "MAGIC WORD XYZZY".
|
||||||
|
|
||||||
|
A three foot black rod with a rusty star on an end lies nearby.
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
You are in an awkward sloping east/west canyon.
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
You are in a splendid chamber thirty feet high. The walls are frozen
|
||||||
|
rivers of orange stone. An awkward canyon and a good passage exit
|
||||||
|
from east and west sides of the chamber.
|
||||||
|
|
||||||
|
A cheerful little bird is sitting here singing.
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
At your feet is a small pit breathing traces of white mist. An east
|
||||||
|
passage ends here except for a small crack leading on.
|
||||||
|
|
||||||
|
Rough stone steps lead down the pit.
|
||||||
|
|
||||||
|
> down
|
||||||
|
|
||||||
|
You are at one end of a vast hall stretching forward out of sight to
|
||||||
|
the west. There are openings to either side. Nearby, a wide stone
|
||||||
|
staircase leads downward. The hall is filled with wisps of white mist
|
||||||
|
swaying to and fro almost as if alive. A cold wind blows up the
|
||||||
|
staircase. There is a passage at the top of a dome behind you.
|
||||||
|
|
||||||
|
Rough stone steps lead up the dome.
|
||||||
|
|
||||||
|
> down
|
||||||
|
|
||||||
|
You are in the Hall of the Mountain King, with passages off in all
|
||||||
|
directions.
|
||||||
|
|
||||||
|
A huge green fierce snake bars the way!
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
You can't get by the snake.
|
||||||
|
|
||||||
|
You're in Hall of Mt King.
|
||||||
|
|
||||||
|
A huge green fierce snake bars the way!
|
||||||
|
|
||||||
|
> attack snake
|
||||||
|
|
||||||
|
Attacking the snake both doesn't work and is very dangerous.
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
You can't get by the snake.
|
||||||
|
|
||||||
|
You're in Hall of Mt King.
|
||||||
|
|
||||||
|
A huge green fierce snake bars the way!
|
||||||
|
|
||||||
|
> eat snake
|
||||||
|
|
||||||
|
I think I just lost my appetite.
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
You can't get by the snake.
|
||||||
|
|
||||||
|
You're in Hall of Mt King.
|
||||||
|
|
||||||
|
A huge green fierce snake bars the way!
|
||||||
|
|
||||||
|
> throw snake
|
||||||
|
|
||||||
|
You aren't carrying it!
|
||||||
|
|
||||||
|
> w
|
||||||
|
|
||||||
|
You can't get by the snake.
|
||||||
|
|
||||||
|
You're in Hall of Mt King.
|
||||||
|
|
||||||
|
A huge green fierce snake bars the way!
|
||||||
|
|
||||||
|
Are you trying to somehow deal with the snake?
|
||||||
|
|
||||||
|
> carry snake
|
||||||
|
|
||||||
|
Please answer the question.
|
||||||
|
|
||||||
|
Are you trying to somehow deal with the snake?
|
||||||
|
|
||||||
|
> y
|
||||||
|
|
||||||
|
I am prepared to give you a hint, but it will cost you 2 points.
|
||||||
|
|
||||||
|
Do you want the hint?
|
||||||
|
|
||||||
|
> y
|
||||||
|
|
||||||
|
You can't kill the snake, or drive it away, or avoid it, or anything
|
||||||
|
like that. There is a way to get by, but you don't have the necessary
|
||||||
|
resources right now.
|
||||||
|
|
||||||
|
|
||||||
|
You scored 55 out of a possible 430, using 25 turns.
|
||||||
|
|
||||||
|
Your score qualifies you as a novice class adventurer.
|
||||||
|
|
||||||
|
To achieve the next higher rating, you need 66 more points.
|
31
tests/hint_snake.log
Normal file
31
tests/hint_snake.log
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
## Elicit hint for dealing with snake
|
||||||
|
n
|
||||||
|
seed 1951269982
|
||||||
|
in
|
||||||
|
get lamp
|
||||||
|
get keys
|
||||||
|
out
|
||||||
|
down
|
||||||
|
s
|
||||||
|
s
|
||||||
|
open
|
||||||
|
in
|
||||||
|
west
|
||||||
|
get cage
|
||||||
|
w
|
||||||
|
on
|
||||||
|
w
|
||||||
|
w
|
||||||
|
w
|
||||||
|
down
|
||||||
|
down
|
||||||
|
w
|
||||||
|
attack snake
|
||||||
|
w
|
||||||
|
eat snake
|
||||||
|
w
|
||||||
|
throw snake
|
||||||
|
w
|
||||||
|
carry snake
|
||||||
|
y
|
||||||
|
y
|
Loading…
Add table
Add a link
Reference in a new issue