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?
Ending and Winning
by
Cooper McHatton
Played 16,627 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Ending and Winning" The Forest is a room. "You are in a forest that will teach you about ending and winning conditions." Here is a poisonous mushroom, a chocolate bar, and a guava. The mushroom is edible. After eating the mushroom: say "You eat the mushroom and die because this is a lose condition."; end the game in death. The chocolate is edible. After eating chocolate: say "You eat the chocolate. It tastes delicious."; award 50 points. The guava is edible. After eating the guava: say "You eat the guava. It tastes awesome."; award 50 points. Every turn while in the forest: if score is 100 begin; say "You have won the game because it's a win condition if you eat both the chocolate bar and the guava"; end the game in victory; end if.