Factor out the test of the bare word "seed".

This commit is contained in:
Eric S. Raymond 2023-03-30 00:54:13 -04:00
parent 872b94f927
commit 30a98cc916
4 changed files with 31 additions and 13 deletions

21
tests/seedless.chk Normal file
View file

@ -0,0 +1,21 @@
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
This command requires a numeric argument.
You're in front of building.
>
You scored 32 out of a possible 430, using 1 turn.
You are obviously a rank amateur. Better luck next time.
To achieve the next higher rating, you need 14 more points.