Armed

version 3 by David Ratliff

  • Home page
  • Beginning
  • Previous
  • Next



  • Example: ** Shooting Gallery - Bob invites you to shoot bottles to win a prize! This example is to show why it might be useful to allow a non-person thing to be shot. It shows the report shooting non-people rule being replaced, as well as a simple way to make shooting a non-person thing actually do something.

            *:"Shooting Gallery"

            Include Armed by David Ratliff

            Use no scoring.

            When play begins:
                say "A shady looking guy named Bob has convinced you to try your luck at shooting down six bottles with a cork gun. 'If you can do it, I[apostrophe]ll give you a teddy bear,' he promises."

            Shooting gallery is a room.
            A bottle is a kind of thing.
            A table is in shooting gallery.
            Six bottles are on the table.
            A cork gun is a fire arm in shooting gallery.
            Bob is a man in shooting gallery.

            Instead of shooting Bob with the cork gun, say "Bob gives you a frightening stare and says 'You wouldn[apostrophe]t stand a chance even if that thing were real!'".

            Instead of doing anything to Bob, say "He glares at you and says 'Just see if you can shoot all the bottles.'"

            The report shooting non-people rule is not listed in any rulebook.

            After shooting a bottle with something: remove the noun from play; continue the action.

            Report shooting a bottle with something: say "POP! goes the cork gun. SHATTER! goes the bottle. Bob says '[bottles message]!'"

            To say bottles message:
            let x be the number of bottles on the table;
            if x is 5:
                say "Only 5 more to go";
            otherwise if x is 4:
                say "Only 4 more";
            otherwise if x is 3:
                say "Half way there";
            otherwise if x is 2:
                say "Just 2 more";
            otherwise if x is 1:
                say "Only 1 more and you win";
            otherwise:
                say "You shot all of the bottles! You win the teddy bear";
                end the game saying "You should give your newly won teddy bear to someone you love!".

            Test me with "x Bob/take cork gun/shoot Bob with cork gun/shoot a bottle with cork gun/shoot a bottle with cork gun/shoot a bottle with cork gun/shoot a bottle with cork gun/shoot a bottle with cork gun/shoot a bottle with cork gun"