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
Test code for Pat
by
zach whalen
Played 1,842 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";