Code from class on 3/13/08

“Class 080313″ by John Timmons

Maximum score is 1001.

When play begins:
say “In this game, you need to find a way to open that locked cookie jar.”

The Foyer is a room. “The Foyer is an austere place. Only an old oil painting on the wall.”

The yellow pencil is in the foyer. The description is “This chewed-up old pencil has seen better days.”

The old oil painting is scenery in the foyer. The description is “The painting is a depiction of a hunting scene that has gone terribly wrong.”

A cookie jar is a locked lockable container. It is on the cabinet. The description is “This is a clay jar with the words COOKIES written on the side.” The magic key unlocks the cookie jar.

A chocolate chip cookie is in the cookie jar. It is edible.

A cabinet is a supporter in the foyer. The description is “Its a lovely granite-topped cabinet accented in auburn mist.”

The comfy chair is a enterable supporter in the foyer.

After entering the comfy chair:
say “You flop your fat ass down.”;
award 1000 points.

After getting off the comfy chair:
award -500 points.

The coffee pot is a switched on device. It is on the cabinet. The description is “Nice coffee pot.”

The magic key is a thing.

Instead of switching off the coffee pot for the first time:
now the magic key is in the foyer;
now the coffee pot is switched off;
say “As if by some miracle, a magic little key falls on the floor in front of you.”

Post a Comment

Your email is never shared. Required fields are marked *

*
*