"10 Minutes of Light" by John Timmons
The story headline is "A Light Fixture That Only Provides Light for Ten Minutes (11 Turns)". The story description is "This is an example of one way to create a light source that will provide light for a limited amount of time based on the time of day. This also demonstrates how to change the status bar display. Please note this game is unwinnable."
Release along with the source text and a website.
Use full-length room descriptions, American dialect, the serial comma, and no scoring.
[By default, all games begin at 9:00 AM but we can change that to anytime by doing the following.]
The time of day is 2:50 PM.
[This is not necessary (but certainly helpful to the player) to the game but provides a way to change the status line to display the time of day.]
When play begins:
decrease turn count by 1;[1]
change the left hand status line to
"[the player's surroundings] - Turns: [turn count]";
change the right hand status line to "Time: [time of day]";
say "You have until 3:00 PM to figure out a way to escape the foyer before the torch burns out and leaves you in the dark for all eternity. Watch the clock at the upper right.[paragraph break]"
[This is our starting room that is dark.]
The Foyer is a room. It is dark. "The foyer is barren except for a flaming torch attached to the wall."
[This is our torch located in the Foyer. It is lit to initially provide light in the room.]
A torch is scenery in the Foyer. It is lit.
Instead of taking the torch:
say "Try as you might, the torch is firmly attached to the wall and will not budge an inch."
[Here we check every turn during the game to see what time it is. Certain times will display messages to the player about the status of the torch.]
At 2:55 PM: say "The torch starts to flicker."
At 2:57 PM: say "The torch sputters and the flame begins to diminish."
At 2:59 PM: say "The last flames of the torch flicker out..."
At 3:00 PM: say "Darkness engulfs you and the realization that this is the end.";
end the game in death.
test me with "z / z / z / z / z / z / z / z / z / z / z".