Interactive Poetry

version 2 by Michael Bacon

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 4a - title screen rule


    The first when play begins rule (this is the interactive poetry title screen rule):
    while 1 is 1 begin;
        clear the screen;
        redraw status line;
        centre "[story title]", bold;
        centre " by [story author]";
        say paragraph break;
        display art if appropriate;
        say line break;
        say fixed letter spacing;
        centre "[quotation]", italic;
        say roman type;
        say paragraph break;
        say fixed letter spacing;
        if not using the paragraphs option, say "Enter a word of significance from the text to revise the poem. [line break]";
        if using the paragraphs option, say "Enter a word of significance from the text to revise the story. [line break]";
        say "To continue, press [bold type]SPACE[roman type].[line break]";
        say variable letter spacing;
        let k be 0;
        while k is 0 begin;
            let k be the chosen letter;
        end while;
        if k is 13 or k is 31 or k is 32 begin;
            clear the screen;
            make no decision;
        otherwise if k is 109 or k is 77;
        end if;
        pause the game;
    end while;