The following is a requirements specification for a simple game based on a player moving through a maze of connected rooms from an entrance door to an exit door.
The required system has to allow a designer to construct a maze of connected rooms and a player to move through these rooms. A player is only displayed information about the room that they are in. This is basically a trial and error game that involves memory of the layout of the rooms in order to get out of the maze by going through as few rooms as possible.
Each room has four doors. Corridors connect two doors from the same or different rooms and can be traversed either way (but the player cannot reverse direction in the middle of the corridor). One of the rooms has a door connected to an entrance. Similarly, one of the rooms has a door connected to an exit. The entrance and exit are special, one-way corridors with only one door. The player moves from the entrance into the first room. For each room, the player chooses a door to go through and travels directly through the door at the opposite end of the corridor to the next room. This continues until the player chooses a door that is the exit. The count of rooms entered by the player is displayed.
A door can have a colour and a pattern. This combination is randomly generated and may not be unique. A room can also have a colour and a pattern for its walls.
Each door has a question associated with it. If the player chooses to go through a door they can answer the question. If they get the question correct they can choose a new colour and pattern for that door.