Home » Archimedes archive » Acorn User » AU 1998-08.adf » Freeware » PD/IntFiction/DavidRPG2/!DavidRPG2/Docs/Example2

PD/IntFiction/DavidRPG2/!DavidRPG2/Docs/Example2

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-08.adf » Freeware
Filename: PD/IntFiction/DavidRPG2/!DavidRPG2/Docs/Example2
Read OK:
File size: 19EB bytes
Load address: 0000
Exec address: 0000
File contents
| Example Game
| David Spence, 1998.

name = Maze
adventure = Get out Alive!!
author = Daivd Spence, 1998
version = 0.01 (26 Mar 1998)

| Player/Plot

player {
name: "a Tourist"
text: ""
      "You are on a day trip to a old manor in France, as you walk"
      "Through the Garden you wonder into a maze and after a while"
      "realise you are completely lost."
      "You must find your way out alive!"
}

room a start {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
north: goto(eight)
south: goto(h)
east:  goto(b)
}
              
room b {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
south: goto(i)
west:  goto(a)
}

room c {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
north: goto(six)
east:  goto(d)
}

room d {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
south: goto(q)
east:  goto(e)
west:  goto(c)
}
              
room e {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west:  goto(d)
}

room f {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
south: goto(u)
east:  goto(g)
}

room g {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
north: goto(two)
west:  goto(f)
}

room h {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(i)
north: goto(a)
}

room i {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(h)
south: goto(j)
north: goto(b)
}

room j {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(p)
north: goto(i)
east: goto(k)
}            

room k {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(j)
south: goto(n)
east: goto(s)
}

room l {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(m)
objects: key
}

room m {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(n)
west: goto(l)
}

room n {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(o)
west: goto(m)
north: goto(k)
}

room o {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(n)
}

room p {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(j)
}

room q {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(r)
south: goto(s)
north: goto(d)
}

room r {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(q)
}

room s {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(k)
north: goto(q)
}

room t {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
south: goto(pound)
north: goto(one)
}

room u {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(v)
east: goto(star)
north: goto(f)
}

room v {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(u)
south: goto(w)
}

room w {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(y)
north: goto(v)
south: goto(x)
}

room x {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
north: goto(w)
}            

room y {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(z)
west: goto(w)
}

room z {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(cbl)
west: goto(y)
south: goto(doller)
}


room eight {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
south: goto(a)
east:  goto(seven)
}

room seven {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(eight)
east: goto(six)
}

room six {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(seven)
east: goto(five)
south: goto(c)
}

room five {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(six)
east: goto(four)
}

room four {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(five)
east: goto(three)
}                

room three {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(four)
east: goto(two)
}

room two {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(three)
east: goto(one)
south: goto(g)
}

room one {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(two)
south: goto(t)
}

room star {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(u)
east: goto(pound)
}

room pound {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(star)
north: goto(t)
}

room cbl {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(z)
}

room cbr {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
east: goto(doller)
} 

room doller {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
      "To the south is a locked door."
north: goto(z)
west: goto(cbr)
south: {
if(ob_got="key") {
print("You use the key to open the door and walk out into the sunshine.\n")
goto(end_maze)
}
if(ob_got<>"key") {
print("The door is locked, but you can see that this is the way out\nthrough a gap.\n")
}
}
east: goto(hash)
}            

room hash {
name: "In the Maze"
text: "You are in the maze, there are high green hedges all around you."
west: goto(doller)
}

room end_maze {
name: "Outside the Maze"
text: "You have found your way out the maze, its large hedges are to the north."
      "Well done."
      "Type south for the same game again!"
south: end()
}                 

object key {
name: "key"
text: "It is a large key with 'MAZE' written on it."
move: yes
}
00000000  7c 20 45 78 61 6d 70 6c  65 20 47 61 6d 65 0a 7c  || Example Game.||
00000010  20 44 61 76 69 64 20 53  70 65 6e 63 65 2c 20 31  | David Spence, 1|
00000020  39 39 38 2e 0a 0a 6e 61  6d 65 20 3d 20 4d 61 7a  |998...name = Maz|
00000030  65 0a 61 64 76 65 6e 74  75 72 65 20 3d 20 47 65  |e.adventure = Ge|
00000040  74 20 6f 75 74 20 41 6c  69 76 65 21 21 0a 61 75  |t out Alive!!.au|
00000050  74 68 6f 72 20 3d 20 44  61 69 76 64 20 53 70 65  |thor = Daivd Spe|
00000060  6e 63 65 2c 20 31 39 39  38 0a 76 65 72 73 69 6f  |nce, 1998.versio|
00000070  6e 20 3d 20 30 2e 30 31  20 28 32 36 20 4d 61 72  |n = 0.01 (26 Mar|
00000080  20 31 39 39 38 29 0a 0a  7c 20 50 6c 61 79 65 72  | 1998)..| Player|
00000090  2f 50 6c 6f 74 0a 0a 70  6c 61 79 65 72 20 7b 0a  |/Plot..player {.|
000000a0  6e 61 6d 65 3a 20 22 61  20 54 6f 75 72 69 73 74  |name: "a Tourist|
000000b0  22 0a 74 65 78 74 3a 20  22 22 0a 20 20 20 20 20  |".text: "".     |
000000c0  20 22 59 6f 75 20 61 72  65 20 6f 6e 20 61 20 64  | "You are on a d|
000000d0  61 79 20 74 72 69 70 20  74 6f 20 61 20 6f 6c 64  |ay trip to a old|
000000e0  20 6d 61 6e 6f 72 20 69  6e 20 46 72 61 6e 63 65  | manor in France|
000000f0  2c 20 61 73 20 79 6f 75  20 77 61 6c 6b 22 0a 20  |, as you walk". |
00000100  20 20 20 20 20 22 54 68  72 6f 75 67 68 20 74 68  |     "Through th|
00000110  65 20 47 61 72 64 65 6e  20 79 6f 75 20 77 6f 6e  |e Garden you won|
00000120  64 65 72 20 69 6e 74 6f  20 61 20 6d 61 7a 65 20  |der into a maze |
00000130  61 6e 64 20 61 66 74 65  72 20 61 20 77 68 69 6c  |and after a whil|
00000140  65 22 0a 20 20 20 20 20  20 22 72 65 61 6c 69 73  |e".      "realis|
00000150  65 20 79 6f 75 20 61 72  65 20 63 6f 6d 70 6c 65  |e you are comple|
00000160  74 65 6c 79 20 6c 6f 73  74 2e 22 0a 20 20 20 20  |tely lost.".    |
00000170  20 20 22 59 6f 75 20 6d  75 73 74 20 66 69 6e 64  |  "You must find|
00000180  20 79 6f 75 72 20 77 61  79 20 6f 75 74 20 61 6c  | your way out al|
00000190  69 76 65 21 22 0a 7d 0a  0a 72 6f 6f 6d 20 61 20  |ive!".}..room a |
000001a0  73 74 61 72 74 20 7b 0a  6e 61 6d 65 3a 20 22 49  |start {.name: "I|
000001b0  6e 20 74 68 65 20 4d 61  7a 65 22 0a 74 65 78 74  |n the Maze".text|
000001c0  3a 20 22 59 6f 75 20 61  72 65 20 69 6e 20 74 68  |: "You are in th|
000001d0  65 20 6d 61 7a 65 2c 20  74 68 65 72 65 20 61 72  |e maze, there ar|
000001e0  65 20 68 69 67 68 20 67  72 65 65 6e 20 68 65 64  |e high green hed|
000001f0  67 65 73 20 61 6c 6c 20  61 72 6f 75 6e 64 20 79  |ges all around y|
00000200  6f 75 2e 22 0a 6e 6f 72  74 68 3a 20 67 6f 74 6f  |ou.".north: goto|
00000210  28 65 69 67 68 74 29 0a  73 6f 75 74 68 3a 20 67  |(eight).south: g|
00000220  6f 74 6f 28 68 29 0a 65  61 73 74 3a 20 20 67 6f  |oto(h).east:  go|
00000230  74 6f 28 62 29 0a 7d 0a  20 20 20 20 20 20 20 20  |to(b).}.        |
00000240  20 20 20 20 20 20 0a 72  6f 6f 6d 20 62 20 7b 0a  |      .room b {.|
00000250  6e 61 6d 65 3a 20 22 49  6e 20 74 68 65 20 4d 61  |name: "In the Ma|
00000260  7a 65 22 0a 74 65 78 74  3a 20 22 59 6f 75 20 61  |ze".text: "You a|
00000270  72 65 20 69 6e 20 74 68  65 20 6d 61 7a 65 2c 20  |re in the maze, |
00000280  74 68 65 72 65 20 61 72  65 20 68 69 67 68 20 67  |there are high g|
00000290  72 65 65 6e 20 68 65 64  67 65 73 20 61 6c 6c 20  |reen hedges all |
000002a0  61 72 6f 75 6e 64 20 79  6f 75 2e 22 0a 73 6f 75  |around you.".sou|
000002b0  74 68 3a 20 67 6f 74 6f  28 69 29 0a 77 65 73 74  |th: goto(i).west|
000002c0  3a 20 20 67 6f 74 6f 28  61 29 0a 7d 0a 0a 72 6f  |:  goto(a).}..ro|
000002d0  6f 6d 20 63 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |om c {.name: "In|
000002e0  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
000002f0  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
00000300  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
00000310  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
00000320  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
00000330  75 2e 22 0a 6e 6f 72 74  68 3a 20 67 6f 74 6f 28  |u.".north: goto(|
00000340  73 69 78 29 0a 65 61 73  74 3a 20 20 67 6f 74 6f  |six).east:  goto|
00000350  28 64 29 0a 7d 0a 0a 72  6f 6f 6d 20 64 20 7b 0a  |(d).}..room d {.|
00000360  6e 61 6d 65 3a 20 22 49  6e 20 74 68 65 20 4d 61  |name: "In the Ma|
00000370  7a 65 22 0a 74 65 78 74  3a 20 22 59 6f 75 20 61  |ze".text: "You a|
00000380  72 65 20 69 6e 20 74 68  65 20 6d 61 7a 65 2c 20  |re in the maze, |
00000390  74 68 65 72 65 20 61 72  65 20 68 69 67 68 20 67  |there are high g|
000003a0  72 65 65 6e 20 68 65 64  67 65 73 20 61 6c 6c 20  |reen hedges all |
000003b0  61 72 6f 75 6e 64 20 79  6f 75 2e 22 0a 73 6f 75  |around you.".sou|
000003c0  74 68 3a 20 67 6f 74 6f  28 71 29 0a 65 61 73 74  |th: goto(q).east|
000003d0  3a 20 20 67 6f 74 6f 28  65 29 0a 77 65 73 74 3a  |:  goto(e).west:|
000003e0  20 20 67 6f 74 6f 28 63  29 0a 7d 0a 20 20 20 20  |  goto(c).}.    |
000003f0  20 20 20 20 20 20 20 20  20 20 0a 72 6f 6f 6d 20  |          .room |
00000400  65 20 7b 0a 6e 61 6d 65  3a 20 22 49 6e 20 74 68  |e {.name: "In th|
00000410  65 20 4d 61 7a 65 22 0a  74 65 78 74 3a 20 22 59  |e Maze".text: "Y|
00000420  6f 75 20 61 72 65 20 69  6e 20 74 68 65 20 6d 61  |ou are in the ma|
00000430  7a 65 2c 20 74 68 65 72  65 20 61 72 65 20 68 69  |ze, there are hi|
00000440  67 68 20 67 72 65 65 6e  20 68 65 64 67 65 73 20  |gh green hedges |
00000450  61 6c 6c 20 61 72 6f 75  6e 64 20 79 6f 75 2e 22  |all around you."|
00000460  0a 77 65 73 74 3a 20 20  67 6f 74 6f 28 64 29 0a  |.west:  goto(d).|
00000470  7d 0a 0a 72 6f 6f 6d 20  66 20 7b 0a 6e 61 6d 65  |}..room f {.name|
00000480  3a 20 22 49 6e 20 74 68  65 20 4d 61 7a 65 22 0a  |: "In the Maze".|
00000490  74 65 78 74 3a 20 22 59  6f 75 20 61 72 65 20 69  |text: "You are i|
000004a0  6e 20 74 68 65 20 6d 61  7a 65 2c 20 74 68 65 72  |n the maze, ther|
000004b0  65 20 61 72 65 20 68 69  67 68 20 67 72 65 65 6e  |e are high green|
000004c0  20 68 65 64 67 65 73 20  61 6c 6c 20 61 72 6f 75  | hedges all arou|
000004d0  6e 64 20 79 6f 75 2e 22  0a 73 6f 75 74 68 3a 20  |nd you.".south: |
000004e0  67 6f 74 6f 28 75 29 0a  65 61 73 74 3a 20 20 67  |goto(u).east:  g|
000004f0  6f 74 6f 28 67 29 0a 7d  0a 0a 72 6f 6f 6d 20 67  |oto(g).}..room g|
00000500  20 7b 0a 6e 61 6d 65 3a  20 22 49 6e 20 74 68 65  | {.name: "In the|
00000510  20 4d 61 7a 65 22 0a 74  65 78 74 3a 20 22 59 6f  | Maze".text: "Yo|
00000520  75 20 61 72 65 20 69 6e  20 74 68 65 20 6d 61 7a  |u are in the maz|
00000530  65 2c 20 74 68 65 72 65  20 61 72 65 20 68 69 67  |e, there are hig|
00000540  68 20 67 72 65 65 6e 20  68 65 64 67 65 73 20 61  |h green hedges a|
00000550  6c 6c 20 61 72 6f 75 6e  64 20 79 6f 75 2e 22 0a  |ll around you.".|
00000560  6e 6f 72 74 68 3a 20 67  6f 74 6f 28 74 77 6f 29  |north: goto(two)|
00000570  0a 77 65 73 74 3a 20 20  67 6f 74 6f 28 66 29 0a  |.west:  goto(f).|
00000580  7d 0a 0a 72 6f 6f 6d 20  68 20 7b 0a 6e 61 6d 65  |}..room h {.name|
00000590  3a 20 22 49 6e 20 74 68  65 20 4d 61 7a 65 22 0a  |: "In the Maze".|
000005a0  74 65 78 74 3a 20 22 59  6f 75 20 61 72 65 20 69  |text: "You are i|
000005b0  6e 20 74 68 65 20 6d 61  7a 65 2c 20 74 68 65 72  |n the maze, ther|
000005c0  65 20 61 72 65 20 68 69  67 68 20 67 72 65 65 6e  |e are high green|
000005d0  20 68 65 64 67 65 73 20  61 6c 6c 20 61 72 6f 75  | hedges all arou|
000005e0  6e 64 20 79 6f 75 2e 22  0a 65 61 73 74 3a 20 67  |nd you.".east: g|
000005f0  6f 74 6f 28 69 29 0a 6e  6f 72 74 68 3a 20 67 6f  |oto(i).north: go|
00000600  74 6f 28 61 29 0a 7d 0a  0a 72 6f 6f 6d 20 69 20  |to(a).}..room i |
00000610  7b 0a 6e 61 6d 65 3a 20  22 49 6e 20 74 68 65 20  |{.name: "In the |
00000620  4d 61 7a 65 22 0a 74 65  78 74 3a 20 22 59 6f 75  |Maze".text: "You|
00000630  20 61 72 65 20 69 6e 20  74 68 65 20 6d 61 7a 65  | are in the maze|
00000640  2c 20 74 68 65 72 65 20  61 72 65 20 68 69 67 68  |, there are high|
00000650  20 67 72 65 65 6e 20 68  65 64 67 65 73 20 61 6c  | green hedges al|
00000660  6c 20 61 72 6f 75 6e 64  20 79 6f 75 2e 22 0a 77  |l around you.".w|
00000670  65 73 74 3a 20 67 6f 74  6f 28 68 29 0a 73 6f 75  |est: goto(h).sou|
00000680  74 68 3a 20 67 6f 74 6f  28 6a 29 0a 6e 6f 72 74  |th: goto(j).nort|
00000690  68 3a 20 67 6f 74 6f 28  62 29 0a 7d 0a 0a 72 6f  |h: goto(b).}..ro|
000006a0  6f 6d 20 6a 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |om j {.name: "In|
000006b0  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
000006c0  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
000006d0  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
000006e0  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
000006f0  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
00000700  75 2e 22 0a 77 65 73 74  3a 20 67 6f 74 6f 28 70  |u.".west: goto(p|
00000710  29 0a 6e 6f 72 74 68 3a  20 67 6f 74 6f 28 69 29  |).north: goto(i)|
00000720  0a 65 61 73 74 3a 20 67  6f 74 6f 28 6b 29 0a 7d  |.east: goto(k).}|
00000730  20 20 20 20 20 20 20 20  20 20 20 20 0a 0a 72 6f  |            ..ro|
00000740  6f 6d 20 6b 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |om k {.name: "In|
00000750  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
00000760  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
00000770  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
00000780  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
00000790  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
000007a0  75 2e 22 0a 77 65 73 74  3a 20 67 6f 74 6f 28 6a  |u.".west: goto(j|
000007b0  29 0a 73 6f 75 74 68 3a  20 67 6f 74 6f 28 6e 29  |).south: goto(n)|
000007c0  0a 65 61 73 74 3a 20 67  6f 74 6f 28 73 29 0a 7d  |.east: goto(s).}|
000007d0  0a 0a 72 6f 6f 6d 20 6c  20 7b 0a 6e 61 6d 65 3a  |..room l {.name:|
000007e0  20 22 49 6e 20 74 68 65  20 4d 61 7a 65 22 0a 74  | "In the Maze".t|
000007f0  65 78 74 3a 20 22 59 6f  75 20 61 72 65 20 69 6e  |ext: "You are in|
00000800  20 74 68 65 20 6d 61 7a  65 2c 20 74 68 65 72 65  | the maze, there|
00000810  20 61 72 65 20 68 69 67  68 20 67 72 65 65 6e 20  | are high green |
00000820  68 65 64 67 65 73 20 61  6c 6c 20 61 72 6f 75 6e  |hedges all aroun|
00000830  64 20 79 6f 75 2e 22 0a  65 61 73 74 3a 20 67 6f  |d you.".east: go|
00000840  74 6f 28 6d 29 0a 6f 62  6a 65 63 74 73 3a 20 6b  |to(m).objects: k|
00000850  65 79 0a 7d 0a 0a 72 6f  6f 6d 20 6d 20 7b 0a 6e  |ey.}..room m {.n|
00000860  61 6d 65 3a 20 22 49 6e  20 74 68 65 20 4d 61 7a  |ame: "In the Maz|
00000870  65 22 0a 74 65 78 74 3a  20 22 59 6f 75 20 61 72  |e".text: "You ar|
00000880  65 20 69 6e 20 74 68 65  20 6d 61 7a 65 2c 20 74  |e in the maze, t|
00000890  68 65 72 65 20 61 72 65  20 68 69 67 68 20 67 72  |here are high gr|
000008a0  65 65 6e 20 68 65 64 67  65 73 20 61 6c 6c 20 61  |een hedges all a|
000008b0  72 6f 75 6e 64 20 79 6f  75 2e 22 0a 65 61 73 74  |round you.".east|
000008c0  3a 20 67 6f 74 6f 28 6e  29 0a 77 65 73 74 3a 20  |: goto(n).west: |
000008d0  67 6f 74 6f 28 6c 29 0a  7d 0a 0a 72 6f 6f 6d 20  |goto(l).}..room |
000008e0  6e 20 7b 0a 6e 61 6d 65  3a 20 22 49 6e 20 74 68  |n {.name: "In th|
000008f0  65 20 4d 61 7a 65 22 0a  74 65 78 74 3a 20 22 59  |e Maze".text: "Y|
00000900  6f 75 20 61 72 65 20 69  6e 20 74 68 65 20 6d 61  |ou are in the ma|
00000910  7a 65 2c 20 74 68 65 72  65 20 61 72 65 20 68 69  |ze, there are hi|
00000920  67 68 20 67 72 65 65 6e  20 68 65 64 67 65 73 20  |gh green hedges |
00000930  61 6c 6c 20 61 72 6f 75  6e 64 20 79 6f 75 2e 22  |all around you."|
00000940  0a 65 61 73 74 3a 20 67  6f 74 6f 28 6f 29 0a 77  |.east: goto(o).w|
00000950  65 73 74 3a 20 67 6f 74  6f 28 6d 29 0a 6e 6f 72  |est: goto(m).nor|
00000960  74 68 3a 20 67 6f 74 6f  28 6b 29 0a 7d 0a 0a 72  |th: goto(k).}..r|
00000970  6f 6f 6d 20 6f 20 7b 0a  6e 61 6d 65 3a 20 22 49  |oom o {.name: "I|
00000980  6e 20 74 68 65 20 4d 61  7a 65 22 0a 74 65 78 74  |n the Maze".text|
00000990  3a 20 22 59 6f 75 20 61  72 65 20 69 6e 20 74 68  |: "You are in th|
000009a0  65 20 6d 61 7a 65 2c 20  74 68 65 72 65 20 61 72  |e maze, there ar|
000009b0  65 20 68 69 67 68 20 67  72 65 65 6e 20 68 65 64  |e high green hed|
000009c0  67 65 73 20 61 6c 6c 20  61 72 6f 75 6e 64 20 79  |ges all around y|
000009d0  6f 75 2e 22 0a 77 65 73  74 3a 20 67 6f 74 6f 28  |ou.".west: goto(|
000009e0  6e 29 0a 7d 0a 0a 72 6f  6f 6d 20 70 20 7b 0a 6e  |n).}..room p {.n|
000009f0  61 6d 65 3a 20 22 49 6e  20 74 68 65 20 4d 61 7a  |ame: "In the Maz|
00000a00  65 22 0a 74 65 78 74 3a  20 22 59 6f 75 20 61 72  |e".text: "You ar|
00000a10  65 20 69 6e 20 74 68 65  20 6d 61 7a 65 2c 20 74  |e in the maze, t|
00000a20  68 65 72 65 20 61 72 65  20 68 69 67 68 20 67 72  |here are high gr|
00000a30  65 65 6e 20 68 65 64 67  65 73 20 61 6c 6c 20 61  |een hedges all a|
00000a40  72 6f 75 6e 64 20 79 6f  75 2e 22 0a 65 61 73 74  |round you.".east|
00000a50  3a 20 67 6f 74 6f 28 6a  29 0a 7d 0a 0a 72 6f 6f  |: goto(j).}..roo|
00000a60  6d 20 71 20 7b 0a 6e 61  6d 65 3a 20 22 49 6e 20  |m q {.name: "In |
00000a70  74 68 65 20 4d 61 7a 65  22 0a 74 65 78 74 3a 20  |the Maze".text: |
00000a80  22 59 6f 75 20 61 72 65  20 69 6e 20 74 68 65 20  |"You are in the |
00000a90  6d 61 7a 65 2c 20 74 68  65 72 65 20 61 72 65 20  |maze, there are |
00000aa0  68 69 67 68 20 67 72 65  65 6e 20 68 65 64 67 65  |high green hedge|
00000ab0  73 20 61 6c 6c 20 61 72  6f 75 6e 64 20 79 6f 75  |s all around you|
00000ac0  2e 22 0a 77 65 73 74 3a  20 67 6f 74 6f 28 72 29  |.".west: goto(r)|
00000ad0  0a 73 6f 75 74 68 3a 20  67 6f 74 6f 28 73 29 0a  |.south: goto(s).|
00000ae0  6e 6f 72 74 68 3a 20 67  6f 74 6f 28 64 29 0a 7d  |north: goto(d).}|
00000af0  0a 0a 72 6f 6f 6d 20 72  20 7b 0a 6e 61 6d 65 3a  |..room r {.name:|
00000b00  20 22 49 6e 20 74 68 65  20 4d 61 7a 65 22 0a 74  | "In the Maze".t|
00000b10  65 78 74 3a 20 22 59 6f  75 20 61 72 65 20 69 6e  |ext: "You are in|
00000b20  20 74 68 65 20 6d 61 7a  65 2c 20 74 68 65 72 65  | the maze, there|
00000b30  20 61 72 65 20 68 69 67  68 20 67 72 65 65 6e 20  | are high green |
00000b40  68 65 64 67 65 73 20 61  6c 6c 20 61 72 6f 75 6e  |hedges all aroun|
00000b50  64 20 79 6f 75 2e 22 0a  65 61 73 74 3a 20 67 6f  |d you.".east: go|
00000b60  74 6f 28 71 29 0a 7d 0a  0a 72 6f 6f 6d 20 73 20  |to(q).}..room s |
00000b70  7b 0a 6e 61 6d 65 3a 20  22 49 6e 20 74 68 65 20  |{.name: "In the |
00000b80  4d 61 7a 65 22 0a 74 65  78 74 3a 20 22 59 6f 75  |Maze".text: "You|
00000b90  20 61 72 65 20 69 6e 20  74 68 65 20 6d 61 7a 65  | are in the maze|
00000ba0  2c 20 74 68 65 72 65 20  61 72 65 20 68 69 67 68  |, there are high|
00000bb0  20 67 72 65 65 6e 20 68  65 64 67 65 73 20 61 6c  | green hedges al|
00000bc0  6c 20 61 72 6f 75 6e 64  20 79 6f 75 2e 22 0a 77  |l around you.".w|
00000bd0  65 73 74 3a 20 67 6f 74  6f 28 6b 29 0a 6e 6f 72  |est: goto(k).nor|
00000be0  74 68 3a 20 67 6f 74 6f  28 71 29 0a 7d 0a 0a 72  |th: goto(q).}..r|
00000bf0  6f 6f 6d 20 74 20 7b 0a  6e 61 6d 65 3a 20 22 49  |oom t {.name: "I|
00000c00  6e 20 74 68 65 20 4d 61  7a 65 22 0a 74 65 78 74  |n the Maze".text|
00000c10  3a 20 22 59 6f 75 20 61  72 65 20 69 6e 20 74 68  |: "You are in th|
00000c20  65 20 6d 61 7a 65 2c 20  74 68 65 72 65 20 61 72  |e maze, there ar|
00000c30  65 20 68 69 67 68 20 67  72 65 65 6e 20 68 65 64  |e high green hed|
00000c40  67 65 73 20 61 6c 6c 20  61 72 6f 75 6e 64 20 79  |ges all around y|
00000c50  6f 75 2e 22 0a 73 6f 75  74 68 3a 20 67 6f 74 6f  |ou.".south: goto|
00000c60  28 70 6f 75 6e 64 29 0a  6e 6f 72 74 68 3a 20 67  |(pound).north: g|
00000c70  6f 74 6f 28 6f 6e 65 29  0a 7d 0a 0a 72 6f 6f 6d  |oto(one).}..room|
00000c80  20 75 20 7b 0a 6e 61 6d  65 3a 20 22 49 6e 20 74  | u {.name: "In t|
00000c90  68 65 20 4d 61 7a 65 22  0a 74 65 78 74 3a 20 22  |he Maze".text: "|
00000ca0  59 6f 75 20 61 72 65 20  69 6e 20 74 68 65 20 6d  |You are in the m|
00000cb0  61 7a 65 2c 20 74 68 65  72 65 20 61 72 65 20 68  |aze, there are h|
00000cc0  69 67 68 20 67 72 65 65  6e 20 68 65 64 67 65 73  |igh green hedges|
00000cd0  20 61 6c 6c 20 61 72 6f  75 6e 64 20 79 6f 75 2e  | all around you.|
00000ce0  22 0a 77 65 73 74 3a 20  67 6f 74 6f 28 76 29 0a  |".west: goto(v).|
00000cf0  65 61 73 74 3a 20 67 6f  74 6f 28 73 74 61 72 29  |east: goto(star)|
00000d00  0a 6e 6f 72 74 68 3a 20  67 6f 74 6f 28 66 29 0a  |.north: goto(f).|
00000d10  7d 0a 0a 72 6f 6f 6d 20  76 20 7b 0a 6e 61 6d 65  |}..room v {.name|
00000d20  3a 20 22 49 6e 20 74 68  65 20 4d 61 7a 65 22 0a  |: "In the Maze".|
00000d30  74 65 78 74 3a 20 22 59  6f 75 20 61 72 65 20 69  |text: "You are i|
00000d40  6e 20 74 68 65 20 6d 61  7a 65 2c 20 74 68 65 72  |n the maze, ther|
00000d50  65 20 61 72 65 20 68 69  67 68 20 67 72 65 65 6e  |e are high green|
00000d60  20 68 65 64 67 65 73 20  61 6c 6c 20 61 72 6f 75  | hedges all arou|
00000d70  6e 64 20 79 6f 75 2e 22  0a 65 61 73 74 3a 20 67  |nd you.".east: g|
00000d80  6f 74 6f 28 75 29 0a 73  6f 75 74 68 3a 20 67 6f  |oto(u).south: go|
00000d90  74 6f 28 77 29 0a 7d 0a  0a 72 6f 6f 6d 20 77 20  |to(w).}..room w |
00000da0  7b 0a 6e 61 6d 65 3a 20  22 49 6e 20 74 68 65 20  |{.name: "In the |
00000db0  4d 61 7a 65 22 0a 74 65  78 74 3a 20 22 59 6f 75  |Maze".text: "You|
00000dc0  20 61 72 65 20 69 6e 20  74 68 65 20 6d 61 7a 65  | are in the maze|
00000dd0  2c 20 74 68 65 72 65 20  61 72 65 20 68 69 67 68  |, there are high|
00000de0  20 67 72 65 65 6e 20 68  65 64 67 65 73 20 61 6c  | green hedges al|
00000df0  6c 20 61 72 6f 75 6e 64  20 79 6f 75 2e 22 0a 65  |l around you.".e|
00000e00  61 73 74 3a 20 67 6f 74  6f 28 79 29 0a 6e 6f 72  |ast: goto(y).nor|
00000e10  74 68 3a 20 67 6f 74 6f  28 76 29 0a 73 6f 75 74  |th: goto(v).sout|
00000e20  68 3a 20 67 6f 74 6f 28  78 29 0a 7d 0a 0a 72 6f  |h: goto(x).}..ro|
00000e30  6f 6d 20 78 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |om x {.name: "In|
00000e40  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
00000e50  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
00000e60  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
00000e70  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
00000e80  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
00000e90  75 2e 22 0a 6e 6f 72 74  68 3a 20 67 6f 74 6f 28  |u.".north: goto(|
00000ea0  77 29 0a 7d 20 20 20 20  20 20 20 20 20 20 20 20  |w).}            |
00000eb0  0a 0a 72 6f 6f 6d 20 79  20 7b 0a 6e 61 6d 65 3a  |..room y {.name:|
00000ec0  20 22 49 6e 20 74 68 65  20 4d 61 7a 65 22 0a 74  | "In the Maze".t|
00000ed0  65 78 74 3a 20 22 59 6f  75 20 61 72 65 20 69 6e  |ext: "You are in|
00000ee0  20 74 68 65 20 6d 61 7a  65 2c 20 74 68 65 72 65  | the maze, there|
00000ef0  20 61 72 65 20 68 69 67  68 20 67 72 65 65 6e 20  | are high green |
00000f00  68 65 64 67 65 73 20 61  6c 6c 20 61 72 6f 75 6e  |hedges all aroun|
00000f10  64 20 79 6f 75 2e 22 0a  65 61 73 74 3a 20 67 6f  |d you.".east: go|
00000f20  74 6f 28 7a 29 0a 77 65  73 74 3a 20 67 6f 74 6f  |to(z).west: goto|
00000f30  28 77 29 0a 7d 0a 0a 72  6f 6f 6d 20 7a 20 7b 0a  |(w).}..room z {.|
00000f40  6e 61 6d 65 3a 20 22 49  6e 20 74 68 65 20 4d 61  |name: "In the Ma|
00000f50  7a 65 22 0a 74 65 78 74  3a 20 22 59 6f 75 20 61  |ze".text: "You a|
00000f60  72 65 20 69 6e 20 74 68  65 20 6d 61 7a 65 2c 20  |re in the maze, |
00000f70  74 68 65 72 65 20 61 72  65 20 68 69 67 68 20 67  |there are high g|
00000f80  72 65 65 6e 20 68 65 64  67 65 73 20 61 6c 6c 20  |reen hedges all |
00000f90  61 72 6f 75 6e 64 20 79  6f 75 2e 22 0a 65 61 73  |around you.".eas|
00000fa0  74 3a 20 67 6f 74 6f 28  63 62 6c 29 0a 77 65 73  |t: goto(cbl).wes|
00000fb0  74 3a 20 67 6f 74 6f 28  79 29 0a 73 6f 75 74 68  |t: goto(y).south|
00000fc0  3a 20 67 6f 74 6f 28 64  6f 6c 6c 65 72 29 0a 7d  |: goto(doller).}|
00000fd0  0a 0a 0a 72 6f 6f 6d 20  65 69 67 68 74 20 7b 0a  |...room eight {.|
00000fe0  6e 61 6d 65 3a 20 22 49  6e 20 74 68 65 20 4d 61  |name: "In the Ma|
00000ff0  7a 65 22 0a 74 65 78 74  3a 20 22 59 6f 75 20 61  |ze".text: "You a|
00001000  72 65 20 69 6e 20 74 68  65 20 6d 61 7a 65 2c 20  |re in the maze, |
00001010  74 68 65 72 65 20 61 72  65 20 68 69 67 68 20 67  |there are high g|
00001020  72 65 65 6e 20 68 65 64  67 65 73 20 61 6c 6c 20  |reen hedges all |
00001030  61 72 6f 75 6e 64 20 79  6f 75 2e 22 0a 73 6f 75  |around you.".sou|
00001040  74 68 3a 20 67 6f 74 6f  28 61 29 0a 65 61 73 74  |th: goto(a).east|
00001050  3a 20 20 67 6f 74 6f 28  73 65 76 65 6e 29 0a 7d  |:  goto(seven).}|
00001060  0a 0a 72 6f 6f 6d 20 73  65 76 65 6e 20 7b 0a 6e  |..room seven {.n|
00001070  61 6d 65 3a 20 22 49 6e  20 74 68 65 20 4d 61 7a  |ame: "In the Maz|
00001080  65 22 0a 74 65 78 74 3a  20 22 59 6f 75 20 61 72  |e".text: "You ar|
00001090  65 20 69 6e 20 74 68 65  20 6d 61 7a 65 2c 20 74  |e in the maze, t|
000010a0  68 65 72 65 20 61 72 65  20 68 69 67 68 20 67 72  |here are high gr|
000010b0  65 65 6e 20 68 65 64 67  65 73 20 61 6c 6c 20 61  |een hedges all a|
000010c0  72 6f 75 6e 64 20 79 6f  75 2e 22 0a 77 65 73 74  |round you.".west|
000010d0  3a 20 67 6f 74 6f 28 65  69 67 68 74 29 0a 65 61  |: goto(eight).ea|
000010e0  73 74 3a 20 67 6f 74 6f  28 73 69 78 29 0a 7d 0a  |st: goto(six).}.|
000010f0  0a 72 6f 6f 6d 20 73 69  78 20 7b 0a 6e 61 6d 65  |.room six {.name|
00001100  3a 20 22 49 6e 20 74 68  65 20 4d 61 7a 65 22 0a  |: "In the Maze".|
00001110  74 65 78 74 3a 20 22 59  6f 75 20 61 72 65 20 69  |text: "You are i|
00001120  6e 20 74 68 65 20 6d 61  7a 65 2c 20 74 68 65 72  |n the maze, ther|
00001130  65 20 61 72 65 20 68 69  67 68 20 67 72 65 65 6e  |e are high green|
00001140  20 68 65 64 67 65 73 20  61 6c 6c 20 61 72 6f 75  | hedges all arou|
00001150  6e 64 20 79 6f 75 2e 22  0a 77 65 73 74 3a 20 67  |nd you.".west: g|
00001160  6f 74 6f 28 73 65 76 65  6e 29 0a 65 61 73 74 3a  |oto(seven).east:|
00001170  20 67 6f 74 6f 28 66 69  76 65 29 0a 73 6f 75 74  | goto(five).sout|
00001180  68 3a 20 67 6f 74 6f 28  63 29 0a 7d 0a 0a 72 6f  |h: goto(c).}..ro|
00001190  6f 6d 20 66 69 76 65 20  7b 0a 6e 61 6d 65 3a 20  |om five {.name: |
000011a0  22 49 6e 20 74 68 65 20  4d 61 7a 65 22 0a 74 65  |"In the Maze".te|
000011b0  78 74 3a 20 22 59 6f 75  20 61 72 65 20 69 6e 20  |xt: "You are in |
000011c0  74 68 65 20 6d 61 7a 65  2c 20 74 68 65 72 65 20  |the maze, there |
000011d0  61 72 65 20 68 69 67 68  20 67 72 65 65 6e 20 68  |are high green h|
000011e0  65 64 67 65 73 20 61 6c  6c 20 61 72 6f 75 6e 64  |edges all around|
000011f0  20 79 6f 75 2e 22 0a 77  65 73 74 3a 20 67 6f 74  | you.".west: got|
00001200  6f 28 73 69 78 29 0a 65  61 73 74 3a 20 67 6f 74  |o(six).east: got|
00001210  6f 28 66 6f 75 72 29 0a  7d 0a 0a 72 6f 6f 6d 20  |o(four).}..room |
00001220  66 6f 75 72 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |four {.name: "In|
00001230  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
00001240  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
00001250  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
00001260  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
00001270  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
00001280  75 2e 22 0a 77 65 73 74  3a 20 67 6f 74 6f 28 66  |u.".west: goto(f|
00001290  69 76 65 29 0a 65 61 73  74 3a 20 67 6f 74 6f 28  |ive).east: goto(|
000012a0  74 68 72 65 65 29 0a 7d  20 20 20 20 20 20 20 20  |three).}        |
000012b0  20 20 20 20 20 20 20 20  0a 0a 72 6f 6f 6d 20 74  |        ..room t|
000012c0  68 72 65 65 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |hree {.name: "In|
000012d0  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
000012e0  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
000012f0  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
00001300  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
00001310  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
00001320  75 2e 22 0a 77 65 73 74  3a 20 67 6f 74 6f 28 66  |u.".west: goto(f|
00001330  6f 75 72 29 0a 65 61 73  74 3a 20 67 6f 74 6f 28  |our).east: goto(|
00001340  74 77 6f 29 0a 7d 0a 0a  72 6f 6f 6d 20 74 77 6f  |two).}..room two|
00001350  20 7b 0a 6e 61 6d 65 3a  20 22 49 6e 20 74 68 65  | {.name: "In the|
00001360  20 4d 61 7a 65 22 0a 74  65 78 74 3a 20 22 59 6f  | Maze".text: "Yo|
00001370  75 20 61 72 65 20 69 6e  20 74 68 65 20 6d 61 7a  |u are in the maz|
00001380  65 2c 20 74 68 65 72 65  20 61 72 65 20 68 69 67  |e, there are hig|
00001390  68 20 67 72 65 65 6e 20  68 65 64 67 65 73 20 61  |h green hedges a|
000013a0  6c 6c 20 61 72 6f 75 6e  64 20 79 6f 75 2e 22 0a  |ll around you.".|
000013b0  77 65 73 74 3a 20 67 6f  74 6f 28 74 68 72 65 65  |west: goto(three|
000013c0  29 0a 65 61 73 74 3a 20  67 6f 74 6f 28 6f 6e 65  |).east: goto(one|
000013d0  29 0a 73 6f 75 74 68 3a  20 67 6f 74 6f 28 67 29  |).south: goto(g)|
000013e0  0a 7d 0a 0a 72 6f 6f 6d  20 6f 6e 65 20 7b 0a 6e  |.}..room one {.n|
000013f0  61 6d 65 3a 20 22 49 6e  20 74 68 65 20 4d 61 7a  |ame: "In the Maz|
00001400  65 22 0a 74 65 78 74 3a  20 22 59 6f 75 20 61 72  |e".text: "You ar|
00001410  65 20 69 6e 20 74 68 65  20 6d 61 7a 65 2c 20 74  |e in the maze, t|
00001420  68 65 72 65 20 61 72 65  20 68 69 67 68 20 67 72  |here are high gr|
00001430  65 65 6e 20 68 65 64 67  65 73 20 61 6c 6c 20 61  |een hedges all a|
00001440  72 6f 75 6e 64 20 79 6f  75 2e 22 0a 77 65 73 74  |round you.".west|
00001450  3a 20 67 6f 74 6f 28 74  77 6f 29 0a 73 6f 75 74  |: goto(two).sout|
00001460  68 3a 20 67 6f 74 6f 28  74 29 0a 7d 0a 0a 72 6f  |h: goto(t).}..ro|
00001470  6f 6d 20 73 74 61 72 20  7b 0a 6e 61 6d 65 3a 20  |om star {.name: |
00001480  22 49 6e 20 74 68 65 20  4d 61 7a 65 22 0a 74 65  |"In the Maze".te|
00001490  78 74 3a 20 22 59 6f 75  20 61 72 65 20 69 6e 20  |xt: "You are in |
000014a0  74 68 65 20 6d 61 7a 65  2c 20 74 68 65 72 65 20  |the maze, there |
000014b0  61 72 65 20 68 69 67 68  20 67 72 65 65 6e 20 68  |are high green h|
000014c0  65 64 67 65 73 20 61 6c  6c 20 61 72 6f 75 6e 64  |edges all around|
000014d0  20 79 6f 75 2e 22 0a 77  65 73 74 3a 20 67 6f 74  | you.".west: got|
000014e0  6f 28 75 29 0a 65 61 73  74 3a 20 67 6f 74 6f 28  |o(u).east: goto(|
000014f0  70 6f 75 6e 64 29 0a 7d  0a 0a 72 6f 6f 6d 20 70  |pound).}..room p|
00001500  6f 75 6e 64 20 7b 0a 6e  61 6d 65 3a 20 22 49 6e  |ound {.name: "In|
00001510  20 74 68 65 20 4d 61 7a  65 22 0a 74 65 78 74 3a  | the Maze".text:|
00001520  20 22 59 6f 75 20 61 72  65 20 69 6e 20 74 68 65  | "You are in the|
00001530  20 6d 61 7a 65 2c 20 74  68 65 72 65 20 61 72 65  | maze, there are|
00001540  20 68 69 67 68 20 67 72  65 65 6e 20 68 65 64 67  | high green hedg|
00001550  65 73 20 61 6c 6c 20 61  72 6f 75 6e 64 20 79 6f  |es all around yo|
00001560  75 2e 22 0a 77 65 73 74  3a 20 67 6f 74 6f 28 73  |u.".west: goto(s|
00001570  74 61 72 29 0a 6e 6f 72  74 68 3a 20 67 6f 74 6f  |tar).north: goto|
00001580  28 74 29 0a 7d 0a 0a 72  6f 6f 6d 20 63 62 6c 20  |(t).}..room cbl |
00001590  7b 0a 6e 61 6d 65 3a 20  22 49 6e 20 74 68 65 20  |{.name: "In the |
000015a0  4d 61 7a 65 22 0a 74 65  78 74 3a 20 22 59 6f 75  |Maze".text: "You|
000015b0  20 61 72 65 20 69 6e 20  74 68 65 20 6d 61 7a 65  | are in the maze|
000015c0  2c 20 74 68 65 72 65 20  61 72 65 20 68 69 67 68  |, there are high|
000015d0  20 67 72 65 65 6e 20 68  65 64 67 65 73 20 61 6c  | green hedges al|
000015e0  6c 20 61 72 6f 75 6e 64  20 79 6f 75 2e 22 0a 77  |l around you.".w|
000015f0  65 73 74 3a 20 67 6f 74  6f 28 7a 29 0a 7d 0a 0a  |est: goto(z).}..|
00001600  72 6f 6f 6d 20 63 62 72  20 7b 0a 6e 61 6d 65 3a  |room cbr {.name:|
00001610  20 22 49 6e 20 74 68 65  20 4d 61 7a 65 22 0a 74  | "In the Maze".t|
00001620  65 78 74 3a 20 22 59 6f  75 20 61 72 65 20 69 6e  |ext: "You are in|
00001630  20 74 68 65 20 6d 61 7a  65 2c 20 74 68 65 72 65  | the maze, there|
00001640  20 61 72 65 20 68 69 67  68 20 67 72 65 65 6e 20  | are high green |
00001650  68 65 64 67 65 73 20 61  6c 6c 20 61 72 6f 75 6e  |hedges all aroun|
00001660  64 20 79 6f 75 2e 22 0a  65 61 73 74 3a 20 67 6f  |d you.".east: go|
00001670  74 6f 28 64 6f 6c 6c 65  72 29 0a 7d 20 0a 0a 72  |to(doller).} ..r|
00001680  6f 6f 6d 20 64 6f 6c 6c  65 72 20 7b 0a 6e 61 6d  |oom doller {.nam|
00001690  65 3a 20 22 49 6e 20 74  68 65 20 4d 61 7a 65 22  |e: "In the Maze"|
000016a0  0a 74 65 78 74 3a 20 22  59 6f 75 20 61 72 65 20  |.text: "You are |
000016b0  69 6e 20 74 68 65 20 6d  61 7a 65 2c 20 74 68 65  |in the maze, the|
000016c0  72 65 20 61 72 65 20 68  69 67 68 20 67 72 65 65  |re are high gree|
000016d0  6e 20 68 65 64 67 65 73  20 61 6c 6c 20 61 72 6f  |n hedges all aro|
000016e0  75 6e 64 20 79 6f 75 2e  22 0a 20 20 20 20 20 20  |und you.".      |
000016f0  22 54 6f 20 74 68 65 20  73 6f 75 74 68 20 69 73  |"To the south is|
00001700  20 61 20 6c 6f 63 6b 65  64 20 64 6f 6f 72 2e 22  | a locked door."|
00001710  0a 6e 6f 72 74 68 3a 20  67 6f 74 6f 28 7a 29 0a  |.north: goto(z).|
00001720  77 65 73 74 3a 20 67 6f  74 6f 28 63 62 72 29 0a  |west: goto(cbr).|
00001730  73 6f 75 74 68 3a 20 7b  0a 69 66 28 6f 62 5f 67  |south: {.if(ob_g|
00001740  6f 74 3d 22 6b 65 79 22  29 20 7b 0a 70 72 69 6e  |ot="key") {.prin|
00001750  74 28 22 59 6f 75 20 75  73 65 20 74 68 65 20 6b  |t("You use the k|
00001760  65 79 20 74 6f 20 6f 70  65 6e 20 74 68 65 20 64  |ey to open the d|
00001770  6f 6f 72 20 61 6e 64 20  77 61 6c 6b 20 6f 75 74  |oor and walk out|
00001780  20 69 6e 74 6f 20 74 68  65 20 73 75 6e 73 68 69  | into the sunshi|
00001790  6e 65 2e 5c 6e 22 29 0a  67 6f 74 6f 28 65 6e 64  |ne.\n").goto(end|
000017a0  5f 6d 61 7a 65 29 0a 7d  0a 69 66 28 6f 62 5f 67  |_maze).}.if(ob_g|
000017b0  6f 74 3c 3e 22 6b 65 79  22 29 20 7b 0a 70 72 69  |ot<>"key") {.pri|
000017c0  6e 74 28 22 54 68 65 20  64 6f 6f 72 20 69 73 20  |nt("The door is |
000017d0  6c 6f 63 6b 65 64 2c 20  62 75 74 20 79 6f 75 20  |locked, but you |
000017e0  63 61 6e 20 73 65 65 20  74 68 61 74 20 74 68 69  |can see that thi|
000017f0  73 20 69 73 20 74 68 65  20 77 61 79 20 6f 75 74  |s is the way out|
00001800  5c 6e 74 68 72 6f 75 67  68 20 61 20 67 61 70 2e  |\nthrough a gap.|
00001810  5c 6e 22 29 0a 7d 0a 7d  0a 65 61 73 74 3a 20 67  |\n").}.}.east: g|
00001820  6f 74 6f 28 68 61 73 68  29 0a 7d 20 20 20 20 20  |oto(hash).}     |
00001830  20 20 20 20 20 20 20 0a  0a 72 6f 6f 6d 20 68 61  |       ..room ha|
00001840  73 68 20 7b 0a 6e 61 6d  65 3a 20 22 49 6e 20 74  |sh {.name: "In t|
00001850  68 65 20 4d 61 7a 65 22  0a 74 65 78 74 3a 20 22  |he Maze".text: "|
00001860  59 6f 75 20 61 72 65 20  69 6e 20 74 68 65 20 6d  |You are in the m|
00001870  61 7a 65 2c 20 74 68 65  72 65 20 61 72 65 20 68  |aze, there are h|
00001880  69 67 68 20 67 72 65 65  6e 20 68 65 64 67 65 73  |igh green hedges|
00001890  20 61 6c 6c 20 61 72 6f  75 6e 64 20 79 6f 75 2e  | all around you.|
000018a0  22 0a 77 65 73 74 3a 20  67 6f 74 6f 28 64 6f 6c  |".west: goto(dol|
000018b0  6c 65 72 29 0a 7d 0a 0a  72 6f 6f 6d 20 65 6e 64  |ler).}..room end|
000018c0  5f 6d 61 7a 65 20 7b 0a  6e 61 6d 65 3a 20 22 4f  |_maze {.name: "O|
000018d0  75 74 73 69 64 65 20 74  68 65 20 4d 61 7a 65 22  |utside the Maze"|
000018e0  0a 74 65 78 74 3a 20 22  59 6f 75 20 68 61 76 65  |.text: "You have|
000018f0  20 66 6f 75 6e 64 20 79  6f 75 72 20 77 61 79 20  | found your way |
00001900  6f 75 74 20 74 68 65 20  6d 61 7a 65 2c 20 69 74  |out the maze, it|
00001910  73 20 6c 61 72 67 65 20  68 65 64 67 65 73 20 61  |s large hedges a|
00001920  72 65 20 74 6f 20 74 68  65 20 6e 6f 72 74 68 2e  |re to the north.|
00001930  22 0a 20 20 20 20 20 20  22 57 65 6c 6c 20 64 6f  |".      "Well do|
00001940  6e 65 2e 22 0a 20 20 20  20 20 20 22 54 79 70 65  |ne.".      "Type|
00001950  20 73 6f 75 74 68 20 66  6f 72 20 74 68 65 20 73  | south for the s|
00001960  61 6d 65 20 67 61 6d 65  20 61 67 61 69 6e 21 22  |ame game again!"|
00001970  0a 73 6f 75 74 68 3a 20  65 6e 64 28 29 0a 7d 20  |.south: end().} |
00001980  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001990  0a 0a 6f 62 6a 65 63 74  20 6b 65 79 20 7b 0a 6e  |..object key {.n|
000019a0  61 6d 65 3a 20 22 6b 65  79 22 0a 74 65 78 74 3a  |ame: "key".text:|
000019b0  20 22 49 74 20 69 73 20  61 20 6c 61 72 67 65 20  | "It is a large |
000019c0  6b 65 79 20 77 69 74 68  20 27 4d 41 5a 45 27 20  |key with 'MAZE' |
000019d0  77 72 69 74 74 65 6e 20  6f 6e 20 69 74 2e 22 0a  |written on it.".|
000019e0  6d 6f 76 65 3a 20 79 65  73 0a 7d                 |move: yes.}|
000019eb