Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OutWalkin

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.

World file specifications

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.

Example World File

{
	"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
	}
}

About

A simple parser for a Zork-like adventure game

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages