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?
Test code for Pat
by
zach whalen
Played 1,658 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
the abyss is a room. the cavern is south of the abyss. [code to handle the action of blinking] blinking is an action applying to nothing. understand "blink" as blinking. understand "blinked" as blinking. [sets the counter] count is a number that varies. [increment the counter] after blinking: now count is count + 1; say count; [the function to control movement in this room] [this code isn't working and I don't know why, do you have any suggestions? According to the logic as long as count is 0 then the player shouldn't be able to go south, but as soon as the player blinks, thus incrementing the counter, the player should be able to go south...] [ if count is 0: instead of going south: say "test"; ] [new version ] to move in the abyss: instead of going south while count is 0: say "test";