Child's Play

An interactive fiction by Stephen Granade (2007) - the Inform 7 source text

Section 1 - Dejectiontime
Dejectiontime is a scene. Dejectiontime begins when your favorite toy is in a playpen. Dejectiontime ends when the machine corresponding to a baby name of Zoe in the Table of Baby State Machines is ZK Cooperating Rules.
When Dejectiontime begins:
   change (machine corresponding to a baby name of Zoe in the Table of Baby State Machines) to ZK Moping Rules;
   now Zoe is down-climbing.

The source code to Child's Play is licensed under a Creative Commons NonCommercial Sampling Plus 1.0 License.