{ "startingRoom": "GryffindorCommonRoomCOMMAND", "endingRoom": "FinalRoom", "rooms": [ { "name": "GryffindorCommonRoom", "description": "You are in the Gryffindor Common Room.", "directions": [ { "directionName": "Outside the common room", "room": "SecondFloorCorridor", "enabled": false, "loserMessage": "Filch and Mrs. Norris have caught you! You lose.", "validKeyNames": [ "CloakOfInvisibility" ] } ], "items": [ { "itemName": "CloakOfInvisibility", "itemMessage": "Do you want to pick up the Cloak of Invisibility" } ] }, { "name": "SecondFloorCorridor", "description": "You are in the second floor corridor. You can see the Portrait of the Fat Lady and the grand staircase.", "directions": [ { "directionName": "back to the common room", "room": "GryffindorCommonRoomCOMMAND", "enabled" : true, "validKeyNames": [] }, { "directionName": "to the grand staircase", "room": "GrandStaircase", "enabled" : true, "validKeyNames": [] } ], "items": [] }, { "name": "GrandStaircase", "description": "You are on the Grand Staircase. You can go to the second, third, fourth, or seventh floor.", "directions": [ { "directionName": "to the SecondFloorCorridor", "room": "SecondFloorCorridor", "enabled" : true, "validKeyNames": [] }, { "directionName": "to the ThirdFloorCorridor", "room": "ThirdFloorCorridor", "enabled" : true, "validKeyNames": [] }, { "directionName": "to the FourthFloorCorridor", "room": "FourthFloorCorridor", "enabled" : true, "validKeyNames": [] }, { "directionName": "to the SeventhFloorCorridor", "room": "SeventhFloorCorridor", "enabled" : true, "validKeyNames": [] } ], "items": [] }, { "name": "ThirdFloorCorridor", "description": "You are in the Third Floor Corridor. The mystery room is to your right and the charms corridor is to your left. You can see the Grand Staircase." , "directions": [ { "directionName": "to the Grand Staircase", "room": "GrandStaircase", "enabled" : true, "validKeyNames": [] }, { "directionName": "left", "room": "CharmsCorridor", "enabled" : true, "validKeyNames": [] }, { "directionName": "right", "room": "MysteryRoom", "enabled" : false, "validKeyNames": [ "Alohomora" ] } ], "items": [] }, { "name": "FourthFloorCorridor", "description": "You are in the fourth floor corridor. The Defense Against the Dark Arts classroom is to your left and Greenhouse One is to your right. You can see the Grand Staircase.", "directions": [ { "directionName": "to the Grand Staircase", "room": "GrandStaircase", "enabled" : true, "validKeyNames": [] }, { "directionName": "left", "room": "DefenseAgainstTheDarkArtsClassroom", "enabled" : true, "validKeyNames": [] }, { "directionName": "right", "room": "GreenhouseOne", "enabled" : true, "validKeyNames": [] } ], "items": [] }, { "name": "SeventhFloorCorridor", "description": "You are on the seventh floor. The Room of Requirement is to your left. You can see the Grand Staircase.", "directions": [ { "directionName": "to the Grand Staircase", "room": "GrandStaircase", "enabled" : true, "validKeyNames": [] }, { "directionName": "left", "room": "RoomOfRequirement", "enabled" : true, "validKeyNames": [] } ], "items": [] }, { "name": "CharmsCorridor", "description": "You are on the charms corridor. The third floor corridor is to your left and the Charms classroom is in front of you. You can see the Grand Staircase.", "directions": [ { "directionName": "right", "room": "ThirdFloorCorridor", "enabled": true, "validKeyNames": [] }, { "directionName": "left", "room": "CharmsClassroom", "enabled": true, "validKeyNames": [] } ], "items": [] }, { "name": "CharmsClassroom", "description": "You are in the charms classroom.", "directions": [ { "directionName": "right", "room": "ThirdFloorCorridor", "enabled": true, "validKeyNames": [] } ], "items": [], "spells": [ { "spellName": "Alohomora", "spellDescription": "The Alohomora Spell lets you open locked doors." } ] }, { "name": "DefenseAgainstTheDarkArtsClassroom", "description": "You are in the Defense Against the Dark Arts classroom.", "directions": [ { "directionName": "right", "room": "FourthFloorCorridor", "enabled": true, "validKeyNames": [] } ], "items": [], "spells": [ { "spellName": "Expelliarmus", "spellDescription": "Expelliarmus lets you disarm your opponent." } ] }, { "name": "GreenhouseOne", "description": "You are in Greenhouse One.", "directions": [ { "directionName": "left", "room": "FourthFloorCorridor", "enabled": true, "validKeyNames": [] } ], "items": [], "spells": [ { "spellName": "LumosSolem", "spellDescription": "LumosSolem allows you to set things on fire. It can be used against Devil's Snare." } ] }, { "name": "RoomOfRequirement", "description": "You are in the Room of Requirement.", "directions": [ { "directionName": "left", "room": "FourthFloorCorridor", "enabled": true, "validKeyNames": [] } ], "items": [ { "itemName": "Harp", "itemMessage": "Do you want to pick up the harp?" } ], "spells": [] }, { "name": "MysteryRoom", "description": "You are in the Mystery Room. Fluffy the three-headed dog is guarding the trapdoor.", "directions": [ { "directionName": "back", "room": "ThirdFloorCorridor", "enabled": true, "validKeyNames": [] }, { "directionName": "through the trapdoor", "room": "DevilsSnareRoom", "enabled": false, "validKeyNames": [ "Harp" ] } ], "items": [] }, { "name": "DevilsSnareRoom", "description": "You are trapped in Devil's Snare!", "directions": [ { "directionName": "forward", "room": "KeyRoom", "enabled": false, "validKeyNames": [ "LumosSolem" ] } ] }, { "name": "KeyRoom", "description": "You are trapped in trapped in the Key Room! You can either use a broom to fly out or apparate.", "directions": [ { "directionName": "fly out", "room": "MirrorRoom", "enabled": false, "validKeyNames": [ "FlyingAbility" ] }, { "directionName": "apparate", "room": "MirrorRoom", "enabled": false, "validKeyNames": [ "ApparateAbility" ] } ] }, { "name": "MirrorRoom", "description": "You have reached the mirror room and obtained the Sorcerer's Stone! But now, Professor Quirrel is attacking you! You can touch him or curse him.", "directions": [ { "directionName": "touch Professor Quirrel", "room": "FinalRoom", "enabled": false, "validKeyNames": [ "Immunity" ] }, { "directionName": "use Expelliarmus", "room": "FinalRoom", "enabled": false, "validKeyNames": [ "Expelliarmus" ] } ] }, { "name": "FinalRoom", "description": "You have won!", "directions": [] } ], "Player": [ { "name": "Harry", "items": [ "FlyingAbility", "Immunity" ] }, { "name": "Hermione", "items": [ "ApparateAbility" ] } ] }