Help coding a mini game pls!

I’m making a mini game where the reader has to choose 2 of the 3 choices given. How do I make it so they can only choose 2 of the 3, and not just click the third one at the end if they got it wrong?

By “pick two options” do you mean pick one and then another right after each other? Or pick one and then another if their first answer is wrong? Or something else?

1 Like

Pick one, then another right after, theres 2 correct answers

Okay, got it. And last question: Do you want the option that they picked the first time around to disappear when they pick their second?

Yes :))

1 Like

So this is how I’d suggest doing it, then (I did this on a whim, so you’ll definitely want to test it out, and feel free to change any names or dialogue I used):

label minigame
NARR
Choose 2 options.
choice
"Option 1" if ([NOT option1]){
gain option1
@OPTIONS +1
if (OPTIONS>3){
goto minigame
}else{
goto minigame_end
}}"Option 2" if ([NOT option2]){
gain option2
@OPTIONS +1
if (OPTIONS>3){
goto minigame
}else{
goto minigame_end
}}"Option 3" if ([NOT option3]){
gain option3
@OPTIONS +1
if (OPTIONS>3){
goto minigame
}else{
goto minigame_end
}}

label minigame_end
#Continue here

Thank you so much this is so helpful :))

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.