( (1 (CASE (VAR "verb") ( (ARM (5 6) (DECISION _ "There's nothing under the cup.") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~Roll up! Roll up!~ calls the busker.") ) ) (DECISION _ "") ) ) (2 (CASE (VAR "verb") ( (ARM (5 6) (DECISION _ "There's nothing under the cup.") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~Who'll come and see my magic?~ calls the busker.") ) ) (DECISION _ "") ) ) (3 (CASE (VAR "verb") ( (ARM (5 6) (DECISION _ "There's nothing under the cup.") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~Three perfectly ordinary coloured cups,~ says the busker. He lifts each in turn to show that it is empty. ~Nothing under any of the,~ he says.") ) ) (DECISION _ "") ) ) (8 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "~Now,~ says the busker, ~to demonstrate that I'm not any prepared equipment, I'd like to do this trick with an object from the audience.~") ) ) (DECISION _ "") ) ) (9 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "~A small object would be best, but I will consider anything,~ says the busker.") ) ) (DECISION _ "") ) ) (10 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "~I see that you're worried,~ says the busker. ~This isn't one of those tricks where I smash your watch with a hammer!~") ) ) (DECISION _ "") ) ) (11 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "~How about you, young lady?~ asks the busker.") ) ) (DECISION _ "") ) ) (13 20 (CASE (VAR "verb") ( (ARM (0) (IF (EQUALS (VAR "trickobject") 0) (DECISION _ "The busker sighs. ~Well if no-one wants to give me anything, I'll use this marble.~ He holds it up and it sparkles in the sunlight. ~You'll just have to trust that it's genuine~") () (DECISION _ "") ) ) (ARM (1 2) (IF (OR (EQUALS (VAR "noun") 0) (EQUALS (VAR "noun") 1)) (DECISION _ "The busker calls after you as you leave, ~Hey! Don't you want to see the rest of the trick!~") () (DECISION _ "") ) ) ) (DECISION _ "") ) ) (15 21 (CASE (VAR "verb") ( (ARM (5 6) (CASE (VAR "trickobject") ( (ARM (0) (DECISION 16 "You lift the cup and discover the marble which the busker retrieves.") ) (ARM (1) (DECISION 300 "You lift the cup and discover the brass key. The busker winks at you. ~Take care, now~") ) ) (DECISION _ "") ) ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~Go on,~ says the busker. ~Guess which one of the cups the object is underneath.~") ) (ARM (1 2) (IF (OR (EQUALS (VAR "noun") 0) (EQUALS (VAR "noun") 1)) (DECISION _ "The busker calls after you as you leave, ~Hey! Don't you want to see the rest of the trick!~") () (DECISION _ "") ) ) ) (DECISION _ "") ) ) (16 (CASE (VAR "verb") ( (ARM (0) (DECISION 15 "") ) ) (DECISION _ "") ) ) (18 (CASE (VAR "verb") ( (ARM (0) (DECISION 14 "~Welcome back,~ says the busker. ~Perhaps you would be so gracious as to help me finish the trick?~") ) ) (DECISION _ "") ) ) (23 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "~The police constable approaches the table. ~I thinks its under this cup where you put it,~ he says. ~You're not fooling me with your patter.~ He looks under the cup. There's nothing there. ~Oh!~ he says.") ) ) (DECISION _ "") ) ) (24 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "The constable surveys the remaining two cups. ~Perhaps it's under this cup then.~ But that one is empty too.") ) ) (DECISION _ "") ) ) (25 (CASE (VAR "verb") ( (ARM (0) (DECISION 16 "The constable says, ~You're a sly one. The object must be under this cup!~ He looks under the cup and extracts a toffee wrapped in shiny paper, which he expertly unwraps and sticks in his mouth.") ) ) (DECISION _ "") ) ) (101 (CASE (VAR "verb") ( (ARM (5 6) (DECISION 105 "Under the cup is a piece of folded paper. You take it and unfold it. It's you name") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~Go on, look under this cup,~ says the busker") ) ) (DECISION _ "") ) ) (102 (CASE (VAR "verb") ( (ARM (5 6) (DECISION 105 "Under the cup is a piece of folded paper. You take it and unfold it. It's you name") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "") ) ) (DECISION _ "") ) ) (103 (CASE (VAR "verb") ( (ARM (5 6) (DECISION 105 "Under the cup is a piece of folded paper. You take it and unfold it. It's you name") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~Go on, it won't bite you,~ says the busker") ) ) (DECISION _ "") ) ) (104 (CASE (VAR "verb") ( (ARM (5 6) (DECISION 105 "Under the cup is a piece of folded paper. You take it and unfold it. It's you name") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "") ) ) (DECISION _ "") ) ) (105 (CASE (VAR "verb") ( (ARM (5 6) (DECISION 105 "Under the cup is a piece of folded paper. You take it and unfold it. It's you name") ) (ARM (3 4) (DECISION _ "~I don't mind if you look under the cups,~ says the busker, ~but I'd be grateful if you didn't walk away with them.~") ) (ARM (0) (DECISION _ "~You don't want to look under the cup?~ says the busker. ~Well, see here.~ He lifts the cup to reveal a piece of folded paper, which he unfolds. It's your name! The busker presses it into your hand.") ) ) (DECISION _ "") ) ) (106 (CASE (VAR "verb") ( (ARM (0) (DECISION 9 "~Now,~ says the busker, ~I need a small object from the audience for my next trick.~") ) ) (DECISION _ "") ) ) (201 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "~Go on, take the toffee,~ says the busker.") ) ) (DECISION _ "") ) ) (202 (CASE (VAR "verb") ( (ARM (0) (DECISION _ "") ) ) (DECISION _ "") ) ) (203 (CASE (VAR "verb") ( (ARM (0) (DECISION 105 "~All right, you don't want it, no skin off my nose,~ says the busker. He tosses it up into the air and it vanishes.") ) ) (DECISION _ "") ) ) )