Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Boat game
by
bob murphy
Played 1,603 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
The boat is a room. " You are in the middle of the ocean on a boat in a suite." Steve is a person The suite is a room. North of the boat is the suite. Description of the suite is "The suite is in the boat. In the suite is Steve." The blue door is a closed openable door. The blue door is west of the suite. Through the blue door is the office. The office is a room. Description of office is "In the office is a large desk with papers and a pen on it." The paper is an object. The pen is an object. The red door is east of the Control Room and west of the Office. "The red door is east of the Control Room and west of the Office." The control room is a room. Description of control room is "In the control room is a desk with a drawer and computers and keys on top of the desk." The desk is an object. "Inside the desk is a drawer that opens. On the desk are keys." The drawer is a closed openable container in the Control Room. The apple is an object inside the drawer. The apple is edible. After eating apple: say "You eat the apple. It tastes delicious."; award 50 points. The cookie is an object inside the drawer. The cookie is edible. After eating cookie: say "You eat the cookie. It tastes delicious."; award 50 points. The egg is an object inside the drawer. The egg is edible. After eating egg: say "You eat the egg and die because this is a lose condition."; end the game in death. Every turn while in the Control Room: if score is 100 begin; say "You have won the game because it's a win condition if you eat both the cookie and the apple"; end the game in victory; end if. The keys are an object The computer is an object