Questions

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



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