adventure.yaml - coverage of all scoring class thresholds
This commit is contained in:
parent
e696fed6db
commit
a6e80af64f
9 changed files with 3498 additions and 6 deletions
|
@ -43,8 +43,10 @@ listcheck:
|
|||
|
||||
# Generate bogus savegames.
|
||||
savegames:
|
||||
@$(ECHO) "cheat: Generate save file with -900 deaths"
|
||||
@../cheat -d -900 -o cheat_numdie.adv > /tmp/cheat_numdie
|
||||
@$(ECHO) "cheat: Generate save file with -1000 deaths"
|
||||
@../cheat -d -1000 -o cheat_numdie.adv > /tmp/cheat_numdie
|
||||
@../cheat -d -1000 -o cheat_numdie1000.adv > /tmp/cheat_numdie1000
|
||||
@$(ECHO) "cheat: Generate save file with version -1337"
|
||||
@../cheat -v -1337 -o resume_badversion.adv > /tmp/cheat_badversion
|
||||
@$(ECHO) "cheat: Generate save file 1000 saves"
|
||||
|
|
|
@ -16,9 +16,11 @@ down a gully.
|
|||
|
||||
Now let's see you do it without suspending in mid-Adventure.
|
||||
|
||||
You scored 10031 out of a possible 430, using 0 turn.
|
||||
You scored 9031 out of a possible 430, using 0 turn.
|
||||
|
||||
You just went off my scale!!
|
||||
'Adventuredom stands in awe -- you have now joined the ranks of the
|
||||
W O R L D C H A M P I O N A D V E N T U R E R S !
|
||||
It may interest you to know that the Dungeon-Master himself has, to
|
||||
my knowledge, never achieved this threshhold in fewer than 330 turns.'
|
||||
|
||||
To achieve the next higher rating would be a neat trick!
|
||||
Congratulations!!
|
||||
To achieve the next higher rating, you need 969 more points.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Resume from absurd save file with numdie = -1000
|
||||
## Resume from absurd save file with numdie = -900
|
||||
n
|
||||
resume
|
||||
cheat_numdie.adv
|
||||
|
|
24
tests/cheatresume2.chk
Normal file
24
tests/cheatresume2.chk
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
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.
|
||||
|
||||
> resume
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Now let's see you do it without suspending in mid-Adventure.
|
||||
|
||||
You scored 10031 out of a possible 430, using 0 turn.
|
||||
|
||||
You just went off my scale!!
|
||||
|
||||
To achieve the next higher rating would be a neat trick!
|
||||
Congratulations!!
|
5
tests/cheatresume2.log
Normal file
5
tests/cheatresume2.log
Normal file
|
@ -0,0 +1,5 @@
|
|||
## Resume from absurd save file with numdie = -1000
|
||||
# generating "off my scale" score threshold message
|
||||
n
|
||||
resume
|
||||
cheat_numdie1000.adv
|
2943
tests/saveresume.3.chk
Normal file
2943
tests/saveresume.3.chk
Normal file
File diff suppressed because it is too large
Load diff
476
tests/saveresume.3.log
Normal file
476
tests/saveresume.3.log
Normal file
|
@ -0,0 +1,476 @@
|
|||
## Almost win, then save
|
||||
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
|
||||
n
|
||||
seed 1838473132
|
||||
in
|
||||
take lamp
|
||||
xyzzy
|
||||
on
|
||||
take rod
|
||||
e
|
||||
take cage
|
||||
w
|
||||
w
|
||||
w
|
||||
drop rod
|
||||
take bird
|
||||
take rod
|
||||
w
|
||||
free bird
|
||||
wave rod
|
||||
take necklace
|
||||
drop rod
|
||||
take bird
|
||||
take rod
|
||||
d
|
||||
d
|
||||
free bird
|
||||
drop rod
|
||||
drop cage
|
||||
take cage
|
||||
take bird
|
||||
w
|
||||
take coins
|
||||
e
|
||||
s
|
||||
take jewelry
|
||||
n
|
||||
up
|
||||
s
|
||||
take gold
|
||||
n
|
||||
d
|
||||
n
|
||||
n
|
||||
plugh
|
||||
extinguish lamp
|
||||
drop coins
|
||||
drop jewelry
|
||||
drop necklace
|
||||
drop gold
|
||||
plugh
|
||||
on
|
||||
s
|
||||
take silver
|
||||
s
|
||||
sw
|
||||
take axe
|
||||
w
|
||||
kill dragon
|
||||
yes
|
||||
drink blood
|
||||
take rug
|
||||
e
|
||||
e
|
||||
up
|
||||
d
|
||||
n
|
||||
n
|
||||
off
|
||||
plugh
|
||||
inven
|
||||
drop rug
|
||||
drop silver
|
||||
out
|
||||
s
|
||||
w
|
||||
n
|
||||
take appendage
|
||||
free bird
|
||||
drop cage
|
||||
listen
|
||||
s
|
||||
s
|
||||
n
|
||||
in
|
||||
take water
|
||||
plugh
|
||||
on
|
||||
plover
|
||||
ne
|
||||
take pyramid
|
||||
s
|
||||
plover
|
||||
s
|
||||
s
|
||||
take rod
|
||||
up
|
||||
w
|
||||
wave rod
|
||||
drop rod
|
||||
west
|
||||
take diamonds
|
||||
w
|
||||
w
|
||||
w
|
||||
s
|
||||
sw
|
||||
se
|
||||
s
|
||||
kill machine
|
||||
s
|
||||
s
|
||||
kill ogre
|
||||
n
|
||||
take ruby
|
||||
s
|
||||
w
|
||||
n
|
||||
n
|
||||
n
|
||||
nw
|
||||
d
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
throw axe
|
||||
take axe
|
||||
n
|
||||
n
|
||||
n
|
||||
off
|
||||
plugh
|
||||
drop ruby
|
||||
drop diamonds
|
||||
drop pyramid
|
||||
plugh
|
||||
on
|
||||
s
|
||||
s
|
||||
u
|
||||
n
|
||||
n
|
||||
d
|
||||
bedquilt
|
||||
throw axe
|
||||
take axe
|
||||
slab
|
||||
s
|
||||
d
|
||||
water plant
|
||||
u
|
||||
w
|
||||
u
|
||||
reservoir
|
||||
H'CFL
|
||||
n
|
||||
n
|
||||
nw
|
||||
u
|
||||
u
|
||||
u
|
||||
u
|
||||
ne
|
||||
take ebony
|
||||
sw
|
||||
d
|
||||
d
|
||||
d
|
||||
d
|
||||
d
|
||||
take water
|
||||
s
|
||||
s
|
||||
s
|
||||
s
|
||||
d
|
||||
s
|
||||
d
|
||||
water plant
|
||||
u
|
||||
drop appendage
|
||||
e
|
||||
d
|
||||
get oil
|
||||
|
||||
u
|
||||
w
|
||||
d
|
||||
climb
|
||||
w
|
||||
n
|
||||
oil door
|
||||
drop bottle
|
||||
n
|
||||
take trident
|
||||
w
|
||||
d
|
||||
se
|
||||
n
|
||||
w
|
||||
drop trident
|
||||
drop ebony
|
||||
drop axe
|
||||
drop lantern
|
||||
e
|
||||
take emerald
|
||||
w
|
||||
take lamp
|
||||
take axe
|
||||
take ebony
|
||||
take trident
|
||||
nw
|
||||
s
|
||||
take vase
|
||||
se
|
||||
throw axe
|
||||
take axe
|
||||
e
|
||||
take pillow
|
||||
w
|
||||
drop axe
|
||||
ne
|
||||
e
|
||||
n
|
||||
open clam
|
||||
s
|
||||
u
|
||||
e
|
||||
u
|
||||
n
|
||||
off
|
||||
plugh
|
||||
drop pillow
|
||||
drop vase
|
||||
drop trident
|
||||
drop emerald
|
||||
drop ebony
|
||||
take keys
|
||||
take food
|
||||
plugh
|
||||
on
|
||||
s
|
||||
d
|
||||
w
|
||||
d
|
||||
n
|
||||
d
|
||||
d
|
||||
take pearl
|
||||
u
|
||||
u
|
||||
s
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
d
|
||||
climb
|
||||
w
|
||||
get eggs
|
||||
n
|
||||
take bottle
|
||||
n
|
||||
w
|
||||
d
|
||||
sw
|
||||
u
|
||||
toss eggs
|
||||
ne
|
||||
ne
|
||||
barren
|
||||
in
|
||||
feed bear
|
||||
unlock chain
|
||||
take chain
|
||||
take bear
|
||||
fork
|
||||
ne
|
||||
e
|
||||
take spices
|
||||
drop keys
|
||||
fork
|
||||
w
|
||||
w
|
||||
sw
|
||||
free bear
|
||||
inven
|
||||
sw
|
||||
sw
|
||||
d
|
||||
se
|
||||
se
|
||||
w
|
||||
d
|
||||
get oil
|
||||
up
|
||||
e
|
||||
take axe
|
||||
w
|
||||
w
|
||||
d
|
||||
climb
|
||||
w
|
||||
fee
|
||||
fie
|
||||
foe
|
||||
foo
|
||||
take eggs
|
||||
s
|
||||
d
|
||||
u
|
||||
w
|
||||
u
|
||||
s
|
||||
e
|
||||
e
|
||||
n
|
||||
n
|
||||
off
|
||||
plugh
|
||||
drop eggs
|
||||
drop pearl
|
||||
drop spices
|
||||
drop chain
|
||||
take rug
|
||||
take ruby
|
||||
take emerald
|
||||
out
|
||||
w
|
||||
n
|
||||
n
|
||||
n
|
||||
inven
|
||||
fill urn
|
||||
light urn
|
||||
rub urn
|
||||
take amber
|
||||
drop rug
|
||||
drop emerald
|
||||
fly rug
|
||||
take sapphire
|
||||
fly rug
|
||||
take emerald
|
||||
drop ruby
|
||||
take rug
|
||||
drop bottle
|
||||
take ruby
|
||||
e
|
||||
s
|
||||
e
|
||||
e
|
||||
in
|
||||
drop ruby
|
||||
drop sapphire
|
||||
drop amber
|
||||
drop rug
|
||||
look
|
||||
plugh
|
||||
on
|
||||
s
|
||||
s
|
||||
u
|
||||
w
|
||||
w
|
||||
w
|
||||
s
|
||||
e
|
||||
s
|
||||
throw axe
|
||||
take axe
|
||||
s
|
||||
s
|
||||
n
|
||||
e
|
||||
e
|
||||
nw
|
||||
take emerald
|
||||
take chest
|
||||
se
|
||||
n
|
||||
d
|
||||
e
|
||||
e
|
||||
off
|
||||
xyzzy
|
||||
drop emerald
|
||||
drop chest
|
||||
plugh
|
||||
on
|
||||
s
|
||||
d
|
||||
w
|
||||
d
|
||||
e
|
||||
take magazine
|
||||
e
|
||||
drop magazine
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
u
|
||||
u
|
||||
e
|
||||
u
|
||||
n
|
||||
plover
|
||||
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
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
sw
|
||||
take rod
|
||||
ne
|
||||
drop rod
|
||||
sw
|
||||
save
|
||||
y
|
||||
saveresume_win.adv
|
||||
y
|
32
tests/saveresume.4.chk
Normal file
32
tests/saveresume.4.chk
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
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.
|
||||
|
||||
> resume
|
||||
Can't open file y, try again.
|
||||
|
||||
You're at sw end.
|
||||
|
||||
The grate is locked.
|
||||
|
||||
> yes
|
||||
|
||||
Guess again.
|
||||
|
||||
> blast
|
||||
|
||||
There is a loud explosion, and a twenty-foot hole appears in the far
|
||||
wall, burying the dwarves in the rubble. You march through the hole
|
||||
and find yourself in the main office, where a cheering band of
|
||||
friendly elves carry the conquering adventurer off into the sunset.
|
||||
|
||||
You scored 423 out of a possible 430, using 469 turns.
|
||||
|
||||
Your score puts you in Master Adventurer Class A.
|
||||
|
||||
To achieve the next higher rating, you need 4 more points.
|
8
tests/saveresume.4.log
Normal file
8
tests/saveresume.4.log
Normal file
|
@ -0,0 +1,8 @@
|
|||
## Resume, then win
|
||||
# Here to get class threshold of 426
|
||||
n
|
||||
resume
|
||||
y
|
||||
saveresume_win.adv
|
||||
yes
|
||||
blast
|
Loading…
Add table
Add a link
Reference in a new issue