OutWalkin is the skeleton of a Zork-style adventure game, which lets the user walk around (hence the name) a world defined in the supplied text file. OutWalkin is the main file, and requires a correctly-formatted JSON file for the world information.
A minimal world file is included.
The world is saved as a JSON object. Each room must have a unique name and include properties outlining the room's visible name, description, and exits. The first room described in the file will be the room in which the player begins.
{
"firstRoom": {
"name": "Your First Room",
"desc": "This is the first room, and what a room it is. Isn't it gorgeous? Really, take a minute to appreciate all it has to offer.",
"nroom": "secondRoom",
"eroom": null,
"sroom": null,
"wroom": null
},
"secondRoom": {
"name": "The Second Room",
"desc": null,
"nroom": null,
"eroom": null,
"sroom": "firstRoom",
"wroom": null
}
}