Child's Play

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

Chapter 2 - Screen Effects
[Print a chapter heading in the game]
To display chapter head (H - text):
   say "[bold type][H][roman type][line break][line break]".
To display chapter head (H - text) with subhead (SH - text):
   say "[bold type][H][line break][SH][roman type][line break][line break]".
To report bug (B - text):
   say "[bold type][unicode left square bracket]BUG[unicode right square bracket] [B][roman type]".
[Don't print the banner text the first time.]
Banner printing is a one-time deal.
First for printing the banner text rule:
   if banner printing has occurred, continue the action.
Rule for printing the banner text (this is the new extended banner rule):
   say "[bold type][story title][roman type][line break][extended story headline] by [story author][line break]Copyright [unicode copyright sign] [story copyright string] by [story author][line break][story rights statement][line break]Type ABOUT for more information.[run paragraph on][line break]Release [release number] / Serial number [story serial number] / Inform 7 build [I7 version number][line break]" instead.
The new extended banner rule is listed before the extended banner rule in the for printing the banner text rules.

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