adjust txtadv
parent
67e0064c45
commit
3c97c01b62
@ -0,0 +1,38 @@
|
|||||||
|
#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
|
@ -0,0 +1,5 @@
|
|||||||
|
#lang racket/base
|
||||||
|
|
||||||
|
(module reader racket/base
|
||||||
|
(require "reader.rkt")
|
||||||
|
(provide (all-from-out "reader.rkt")))
|
Loading…
Reference in New Issue