Home
Explore games
Help
Log in
Playfic is now in read-only mode.
You can still play existing games, but new signups and game editing is disabled.
Read the announcement.
Log in
Username
Password (
Forgot it?
)
Login
Ending and Winning
by
Cooper McHatton
Played 17,736 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.