Skip to content

Instantly share code, notes, and snippets.

@wbyoung
Created April 4, 2014 20:54
Show Gist options
  • Save wbyoung/9982938 to your computer and use it in GitHub Desktop.
Save wbyoung/9982938 to your computer and use it in GitHub Desktop.
JSI game description with rooms reordered
{
"rooms": [
{
"name": "C",
"north": null,
"east": null,
"south": null,
"west": "B"
},
{
"name": "A",
"north": "D",
"east": "B",
"south": null,
"west": null
},
{
"name": "B",
"north": "E",
"east": null,
"south": null,
"west": "A",
"entrance": "south"
},
{
"name": "D",
"north": "G",
"east": null,
"south": "A",
"west": null
},
{
"name": "E",
"north": null,
"east": "F",
"south": "B",
"west": null
},
{
"name": "F",
"north": null,
"east": null,
"south": null,
"west": "E"
},
{
"name": "G",
"north": "H",
"east": null,
"south": "D",
"west": null
},
{
"name": "H",
"north": null,
"east": "I",
"south": "G",
"west": null
},
{
"name": "I",
"north": null,
"east": "J",
"south": null,
"west": "H"
},
{
"name": "J",
"north": null,
"east": "K",
"south": null,
"west": "I"
},
{
"name": "K",
"north": null,
"east": null,
"south": null,
"west": "J",
"treasure": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment