Fix things so seed doesn't cost clock time.
This commit is contained in:
parent
b80d1779e6
commit
184e981be3
4 changed files with 1934 additions and 1 deletions
2
main.c
2
main.c
|
@ -148,6 +148,8 @@ static bool fallback_handler(signed char *buf)
|
||||||
if (sscanf(buf, "seed %ld", &sv) == 1) {
|
if (sscanf(buf, "seed %ld", &sv) == 1) {
|
||||||
set_seed(sv);
|
set_seed(sv);
|
||||||
printf("Seed set to %ld\n", sv);
|
printf("Seed set to %ld\n", sv);
|
||||||
|
// autogenerated, so don't charge user time for it.
|
||||||
|
--TURNS;
|
||||||
// here we reconfigure any global game state that uses random numbers
|
// here we reconfigure any global game state that uses random numbers
|
||||||
ZZWORD=RNDVOC(3,0)+MESH*2;
|
ZZWORD=RNDVOC(3,0)+MESH*2;
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -133,7 +133,7 @@ to try to reincarnate you?
|
||||||
|
|
||||||
OK
|
OK
|
||||||
|
|
||||||
You scored 51 out of a possible 430, using 19 turns.
|
You scored 51 out of a possible 430, using 18 turns.
|
||||||
|
|
||||||
Your score qualifies you as a novice class adventurer.
|
Your score qualifies you as a novice class adventurer.
|
||||||
|
|
||||||
|
|
|
@ -386,8 +386,30 @@ A crystal bridge now spans the fissure.
|
||||||
|
|
||||||
OK
|
OK
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
>
|
>
|
||||||
You scored 97 out of a possible 430, using 60 turns.
|
You scored 97 out of a possible 430, using 60 turns.
|
||||||
|
=======
|
||||||
|
> e
|
||||||
|
|
||||||
|
A little dwarf with a big knife blocks your way.
|
||||||
|
|
||||||
|
There are 2 threatening little dwarves in the room with you.
|
||||||
|
|
||||||
|
2 of them throw knives at you!
|
||||||
|
|
||||||
|
One of them gets you!
|
||||||
|
|
||||||
|
Oh dear, you seem to have gotten yourself killed. I might be able to
|
||||||
|
help you out, but I've never really done this before. Do you want me
|
||||||
|
to try to reincarnate you?
|
||||||
|
|
||||||
|
> n
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
You scored 81 out of a possible 430, using 55 turns.
|
||||||
|
>>>>>>> 6a6670e (Fix things so seed doesn't cost clock time.)
|
||||||
|
|
||||||
Your score qualifies you as a novice class adventurer.
|
Your score qualifies you as a novice class adventurer.
|
||||||
|
|
||||||
|
|
1909
tests/pirate.chk
Normal file
1909
tests/pirate.chk
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue