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
Tang
Played 29 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
The bedroom is a room. The description is "This is a tiny bedroom with one very narrow bed." The bathroom is a room. The bathroom is north of the bedroom. [Using instead of to override a default action.] A person is either awake or asleep. A person is usually awake. [Define properties] Instead of sleeping: now the player is asleep; say "You are asleep." [Change the state of player from awake to asleep] Instead of doing something other than waking up or waiting when the player is asleep: Say "when u are sleeping u can do nothing." [Overwrtie actions of player out of waking up or wait when player is alseep] Instead of waking up when the player is alseep: now the player is awake; say "u wake up." [Define new rules how the game is going to change] Instead of waking up; say"u r not asleep, cant wake up" [2 codes for waking up] [Apply upper codes before lower codes, it consider the "alseep" situatoin before "awake but say wake up" situation]