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?
The Quest for the Ice Cream Crown
by
CHIRAG
Played 23 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Questions For You" by Chirag The Love Room is a room. "This room feels warm and familiar. There's a piece of paper on a table. It's a quiz — just for you." The paper is a thing in the Love Room. The description of the paper is "It's a list of personal questions... made with love. Want to start the quiz? (type 'start quiz')." Quiz Mode is a truth state that varies. Quiz Mode is false. Current question is a number that varies. Current question is 0. Starting the quiz is an action applying to nothing. Understand "start quiz" as starting the quiz. Carry out starting the quiz: now Quiz Mode is true; now Current question is 1; say "Let's begin! Just type your answers. Type 'quit' anytime to stop."; say "[line break]Question 1: What do I call her lovingly?"; Every turn when Quiz Mode is true: if the player's command matches "quit": now Quiz Mode is false; say "Okay, we’ll continue later. I still love you. :)"; stop the action; if Current question is 1: if the player's command matches "paramsundari": say "Correct! That’s what I lovingly call you. "; now Current question is 2; say "[line break]Question 2: Which company do we collectively hate the most?"; stop the action; otherwise: say "Nope, try again or type 'quit'."; stop the action; if Current question is 2: if the player's command matches "agil": say "Ugh yes, AGIL. We both know why. "; now Current question is 3; say "[line break]Question 3: Who is her best friend? (ritika / tanzeel)"; stop the action; otherwise: say "Not quite. Try again or type 'quit'."; stop the action; if Current question is 3: if the player's command matches "ritika": say "Ritika huh? I’ll tell Tanzeel about this. "; now Current question is 4; say "[line break]Question 4: Guess my salary in rupees."; stop the action; else if the player's command matches "tanzeel": say "So it’s Tanzeel? Wait till Ritika hears this! "; now Current question is 4; say "[line break]Question 4: Guess my salary in rupees."; stop the action; otherwise: say "Hmm, choose ritika or tanzeel, or 'quit'."; stop the action; if Current question is 4: if the player's command matches "15000": say "Yup, ₹15,000. Still rich in love though "; now Current question is 5; say "[line break]Question 5: Finish the lyric – 'Look how they ____ for you.'"; stop the action; otherwise: say "Close, but not quite. Try again or type 'quit'."; stop the action; if Current question is 5: if the player's command matches "shine": say "Yes!! 'Yellow' by Coldplay. You're amazing "; now Quiz Mode is false; say "[line break]You’ve completed the quiz! I love you. "; stop the action; otherwise: say "Not the right word. Try again or 'quit'."; stop the action. Test me with "examine paper / start quiz / paramsundari / agil / ritika / tanzeel / 15000 / shine".