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?
FizzJazzBuzz
by
Dannii
Played 2,445 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;