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?
My New Game
by
Thomas Wong
Played 272 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 and chocolate bar. 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. Every turn while in the forest: if score is 50 begin; say "You have won the game because it's a win condition"; end the game in victory; end if.