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?
A Cluttered Room
by
zach whalen
Played 3,688 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
When play begins, say "This is a simple example game I used while creating
a blog post about optimizing room descriptions
. If you have further suggestions or any corrections to offer, please let me know! -ZW ". Room 1 is a room. The description of room 1 is "You find yourself in an average dorm room. Sunlight filters through bright green curtains, and a fake plant, adorned with a dirty shirt, casts a shadow across a Che Guevarra poster." Room 1 contains a desk, a lamp, a chair, a bed, curtains, a plant, a lacrosse stick, running shoes, a dirty shirt, a hot potato and a Che Guevarra poster. The chair, bed and desk are enterable containers. The plant, poster, curtains and dirty shirt are scenery. The description of the plant is "The ficus tree was supposed to make your room feel more like a home, but its layer of dust just reminds you of a shabby dentist's office." Rule for printing room description details of the desk: stop. Before listing nondescript items while in room 1: if the shoes are marked for listing: now the shoes are not marked for listing; if the stick is marked for listing: now the stick is not marked for listing. [Uncomment the next line to completely disable the locale description.] [Rule for printing the locale description of room 1: stop.]