Assignment 7 & 8 Sample Map
This is the map file that my sample program used when I
produced the sample run. Again, you do not need to duplicate
this. You can design entirely your own map file format; it
doesn't need to be anything like this at all. Conversely,
you may just copy this file if you want to. Its entirely up
to you.
$ cat map.txt
location doorway
description-here in the doorway to a small house
description-near the door
north clear hallway
south clear doorlawn
*
location doorlawn
description-here on a lawn beside a small house
description-near a lawn
north clear doorway
south clear mainlawn
west clear windowlawn
east clear walllawn
*
location windowlawn
description-here on a lawn beside a small house, by a dirty window
description-near a lawn
north window sittingroom
south clear westlawn
west nogo gardenwall
east clear doorlawn
*
location gardenwall
description-near a high stone wall
*
location house
description-near an old house
*
location walllawn
description-here on a lawn beside the wall of a small house
description-near a lawn
north nogo house
south clear eastlawn
west clear doorlawn
east nogo gardenwall
*
location westlawn
description-here on a lawn beside some trees in front of an old house
description-near a lawn and some trees
north clear windowlawn
west nogo gardenwall
east clear mainlawn
south clear fronttrees
*
location eastlawn
description-here on a lawn beside some trees in front of an old house
description-near a lawn and some trees
north clear walllawn
east nogo gardenwall
west clear mainlawn
south clear fronttrees
*
location mainlawn
description-here on a lawn beside some trees in front of an old house
description-near a lawn and some trees
north clear doorlawn
east clear eastlawn
west clear westlawn
south clear fronttrees
*
location fronttrees
description-here at the edge of a forest near a clearing and a house
description-near many trees
north clear mainlawn
west clear forest
east clear forest
south clear forest
*
location forest
description-here deep in a dark forest
description-near nothing but trees
special getlost
north clear forest
west clear forest
east clear fronttrees
south clear backtrees
*
location backtrees
description-here at the edge of a forest near a clearing and a house
description-near many trees
north clear forest
west clear forest
east clear forest
south clear backyard
*
location backyard
description-here an overgrown garden at the back of an old house
description-near some sort of clearing
north clear backtrees
south window kitchen
west nogo gardenwall
east nogo gardenwall
*
location hallway
description-here just inside the entrance of an old house
description-near the entrance hall
north clear kitchen
south clear doorway
west clear sittingroom
east clear darkroom
*
location sittingroom
description-here a smelly dusty room full of old furniture and spiders
description-near what appears to be the sitting-room
south window windowlawn
east clear hallway
*
location darkroom
description-here a small, very dark, room
description-near a darkened room
west clear hallway
*
location kitchen
description-here an old and untidy kitchen
description-near a kitchen
north window backyard
south clear hallway
*
object gold
description a lump of gold
value 100
weight 1
in darkroom
*
object kettle
description a rusty iron kettle
value 0
weight 50
in kitchen
*
object silver
description some silver doubloons and pices of eight
value 50
weight 11
in darkroom
*
object piano
description a broken-down piano
value 10
weight 1500
in sittingroom
*
start mainlawn north
*
end
*