§18.38. Printing the player's obituary
1. When it happens. The obituary is the text "*** You have died ***" or similar, usually followed by the final score.
2. The default behaviour. Printing the aforementioned text, then the final score, and reducing the status line to a largely blank state.
3. Examples. (a) For a work with no meaningful score, it would be odd to wind up with a final reckoning of 0, so:
(b) Or we could add to the verdict:
After printing the player's obituary: say "And you visited [number of visited rooms] place[s]."
![]() | Start of Chapter 18: Activities |
![]() | Back to §18.37. Printing the banner text |
![]() | Onward to §18.39. Amusing a victorious player |
|
Occasionally, a piece of IF is sufficiently serious that it feels bathetic to offer the player the usual restore-restart-undo-quit options at the end. The following would replace "*** You have died ***" with a centered epitaph, then quit the game when the player hits a key. This example relies on a standard extension to avoid any fancy programming:
|
|
Occasionally, a piece of IF is sufficiently serious that it feels bathetic to offer the player the usual restore-restart-undo-quit options at the end. The following would replace "*** You have died ***" with a centered epitaph, then quit the game when the player hits a key. This example relies on a standard extension to avoid any fancy programming:
Occasionally, a piece of IF is sufficiently serious that it feels bathetic to offer the player the usual restore-restart-undo-quit options at the end. The following would replace "*** You have died ***" with a centered epitaph, then quit the game when the player hits a key. This example relies on a standard extension to avoid any fancy programming:
|
|