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
FizzJazzBuzz
by
Dannii
Played 2,736 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"FizzJazzBuzz" by Dannii. The Smart Person's Mirage is a room. The number printing rules are a number based rulebook. Definition: a number is fizzy if the remainder after dividing it by 3 is 0. Definition: a number is jazzy if the remainder after dividing it by 4 is 0. Definition: a number is buzzy if the remainder after dividing it by 5 is 0. A number printing rule for a fizzy number: say "Fizz"; A number printing rule for a jazzy number: say "Jazz"; A number printing rule for a buzzy number: say "Buzz"; A number printing rule for a number (called N): unless a paragraph break is pending: say N; say "[conditional paragraph break]"; To print a series of numbers from (min - a number) to (max - a number): repeat with N running from min to max: follow the number printing rules for N; When play begins: print a series of numbers from 1 to 100; say paragraph break;