Interactive Poetry

version 2 by Michael Bacon

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 3 - Appearance

    Use no scoring. Use the serial comma. [ both are for End Of Poem options ]

    The display banner rule is not listed in the startup rulebook. [we'll use the banner in CREDITS]

    The poem display rule is listed instead of the room description heading rule in the carry out looking rules.

    Rule for printing a parser error (this is the silence parser errors rule): consider the poem display rule.

    Every turn (this is the poem display rule):
        clear only the main screen;
        say "[line break][line break]"; [ to ensure the status line does not cover the text in certain interpreters]
        repeat with X running from 1 to the current line minus 1 begin;
            choose row X in the table of selected lines;
            If not using the centering option begin;
                if there is a line entry begin;
                    say the line entry;
                    if not using the paragraphs option, say line break;
                end if;
            end if;
            If using the centering option begin;
                if there is a line entry begin;
                    centre the line entry;
                    if not using the paragraphs option, say line break;
                end if;
            end if;
        end repeat;
    [The following is for debugging if uncommented:]
        [say "(now looking for line [current line]).";]
        unless the unknown words message is "", say the unknown words message;
        now the unknown words message is "".