Add test for feeding ogre.

This commit is contained in:
Eric S. Raymond 2017-06-14 16:53:45 -04:00
parent a48d75b999
commit c818a10f28
2 changed files with 17 additions and 18 deletions

View file

@ -408,6 +408,10 @@ There is a bottle of water here.
OK OK
> take food
OK
> plugh > plugh
>>Foof!<< >>Foof!<<
@ -674,32 +678,27 @@ There is a little axe here.
A formidable ogre bars the northern exit. A formidable ogre bars the northern exit.
> n > feed ogre
The ogre snarls and shoves you back. The ogre doesn't appear to be hungry.
You are in a large chamber with passages to the west and north.
There is a little axe here.
A formidable ogre bars the northern exit.
Do you need help dealing with the ogre? Do you need help dealing with the ogre?
> y > n
I am prepared to give you a hint, but it will cost you 4 points. OK
Do you want the hint?
> y > y
There is nothing the presence of which will prevent you from defeating Sorry, I don't know the word "Y".
him; thus it can't hurt to fetch everything you possibly can.
> y
Sorry, I don't know the word "Y".
You scored 101 out of a possible 430, using 103 turns. You scored 105 out of a possible 430, using 106 turns.
Your score qualifies you as a novice class adventurer. Your score qualifies you as a novice class adventurer.
To achieve the next higher rating, you need 20 more points. To achieve the next higher rating, you need 16 more points.

View file

@ -71,7 +71,7 @@ s
s s
n n
in in
take water take food
plugh plugh
on on
plover plover
@ -105,6 +105,6 @@ take axe
throw axe throw axe
take axe take axe
throw axe throw axe
n feed ogre
y y
y y