Questions

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 4 - Rules for yes/no questions
    Yes/no question rules is a rulebook.
    The yes/no question rules have outcomes exit (success), retry (failure) and parse (failure).
    The first yes/no question rule (this is the invalid yes/no reply rule):
        if the player's command does not match "[decision]":
            if closed question mode is true:
                retry;
            if closed question mode is false:
                parse.
    The last yes/no question rule (this is the default yes/no question rule):
        exit.