forked from UMDLARS/one_night_in_sf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
minimal.test
37 lines (31 loc) · 895 Bytes
/
minimal.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This script is meant to be run with regtest
# https://eblong.com/zarf/plotex/regtest.html
** game: ./minimal.z5
# Each line beginning with > is a command, and everything else marks expected
# output.
#
# 1. Lines starting with "!" are negated
# 2. Lines starting with "/" are regular expressions (mostly handy for
# substring search).
# 3. Lines starting with "*" name a test suite, starting the game over from the
# beginning.
#
# For the rest of the syntax, see the URL above. In particular you may find
# >{include} testname
# syntax helpful for starting a suite of tests from the same point in the game.
* get/drop box
A sample game which uses PunyInform.
You are in a library.
/empty
!It feels so nice, standing in the box.
> get box
Taken.
> drop box
Dropped.
* enter box
> x box
The box is empty.
> enter box
You enter the box.
> l
It feels so nice, standing in the box.