James Tocknell avatar James Tocknell committed 509b9bd

Added top level start key to stage 1

Comments (0)

Files changed (1)

 .. code-block:: json
 
     {
-        "throne room": {
-            "description": [
-                "You sneak into the throne room, and steal the crown!"
-            ],
-            "exits": {},
-            "special": ["win"]
-        },
-        "main hall": {
-            "description": [
-                "You are standing in the main hall, a room with many pillars.",
-                "On the sides of the room, you see many sculptures of animals, ",
-                "people and (strangely enough) boats."
-            ],
-            "exits": {
-                "north": "entrance courtyard",
-                "west": "dungeon",
-                "east": "throne room"
+        "start": "main hall",
+        "rooms": {
+            "throne room": {
+                "description": [
+                    "You sneak into the throne room, and steal the crown!"
+                ],
+                "exits": {},
+                "special": ["win"]
             },
-            "special": []
-        },
-        "dungeon": {
-            "description": [
-                "This room is filled with manacles with rotting corpses hanging ",
-                "from them. Behind you, you hear the jailer's maniacal laugh as ",
-                "he shuts the door behind you."
-            ],
-            "exits": {
-                "east": "main hall"
+            "main hall": {
+                "description": [
+                    "You are standing in the main hall, a room with many pillars.",
+                    "On the sides of the room, you see many sculptures of animals, ",
+                    "people and (strangely enough) boats."
+                ],
+                "exits": {
+                    "north": "entrance courtyard",
+                    "west": "dungeon",
+                    "east": "throne room"
+                },
+                "special": []
             },
-            "special": ["lose"]
-        },
-        "entrance courtyard": {
-            "description": [
-                "You are standing in the entrance courtyard, a place with a ",
-                "crossroads of paved pathways, lined by miniature pine trees ",
-                "with tulips surrounding them at the base."
-            ],
-            "exits": {
-                "south": "main hall"
+            "dungeon": {
+                "description": [
+                    "This room is filled with manacles with rotting corpses hanging ",
+                    "from them. Behind you, you hear the jailer's maniacal laugh as ",
+                    "he shuts the door behind you."
+                ],
+                "exits": {
+                    "east": "main hall"
+                },
+                "special": ["lose"]
             },
-            "special": []
+            "entrance courtyard": {
+                "description": [
+                    "You are standing in the entrance courtyard, a place with a ",
+                    "crossroads of paved pathways, lined by miniature pine trees ",
+                    "with tulips surrounding them at the base."
+                ],
+                "exits": {
+                    "south": "main hall"
+                },
+                "special": []
+            }
         }
     }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.