You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
404 B
Racket
38 lines
404 B
Racket
5 years ago
|
#lang txtadv-demo
|
||
|
|
||
|
===VERBS===
|
||
|
|
||
|
north, n
|
||
|
"go north"
|
||
|
|
||
|
south, s
|
||
|
"go south"
|
||
|
|
||
|
get _, grab _, take _
|
||
|
"take"
|
||
|
|
||
|
===THINGS===
|
||
|
|
||
|
---cactus---
|
||
|
get
|
||
|
"You win!"
|
||
|
|
||
|
===PLACES===
|
||
|
|
||
|
---meadow---
|
||
|
"Welcome to the Cactus Game! You're standing in a meadow. There is a desert to the south."
|
||
|
[]
|
||
|
|
||
|
south
|
||
|
desert
|
||
|
|
||
|
---desert---
|
||
|
"You're in a desert. There is nothing for miles around."
|
||
|
[cactus]
|
||
|
|
||
|
north
|
||
|
meadow
|
||
|
|
||
|
===START===
|
||
|
|
||
|
meadow
|