version 1/080522 by S John Ross

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: Calling on the "lock the dice" Activity

    The "lock the dice" activity sits at the extension's functional core, and it's often desirable to simply summon the action directly, like so:

        To rob the player:
            if the player encloses something begin;
                lock the dice;
                remove a random thing enclosed by the player from play;
                end if;

    Now, when we call on the game to "rob the player," UNDO will not save our poor protagonist from the choice the cruel Fates have made.