Adventure Book

version 1/110101 by Edward Griffiths

  • Home page
  • Beginning
  • Previous
  • Next

  • Section 3 -- Choosing

    [The main form of interface. It simply consults the Table of Options built by the last turn to command and turns the system to the appropriate page.]

    Table of Options
    with 30 blank rows  

    Choosing is an action applying to a number.

    Understand "[a number]" as choosing.

    The command is a choice that varies.

    Carry out choosing a number (called N):
        if there is an option in row N of the Table of Options:
            now the command is the option in row N of the Table of Options;
            turn to the destination of the command;
            try looking;