Discuss Scratch

THUNDERDRUM2007
Scratcher
2 posts

making a quiz

I am struggling to make a quiz answer could you give me some help. I would be very grateful. Thanks.
lederniersamourai
Scratcher
500+ posts

making a quiz

There is a very simple solution. Then you can make things more complex if you want.
Suppose you want to ask: “What is the color of the blue sky?” and the expected answer is: “blue”

whenIreceivequestion 1setquerytoWhat is the color of the blue sky?setcorrect answertobluesetanswer given by playertono answer yetrepeatuntilanswergivenbyplayer=correctansweroranswergivenbyplayer=skipaskjoinquery (type "skip" if you do not want to answer)andwaitsetanswer given by player toanswerifanswergivenbyplayer=correctanswerthenchangescoreby1sayYou won this one!for2secs

Then you copy this for all question and change the questions:
whenIreceivequestion 2setquerytoWhat is the color of the pink panther?setcorrect answertopink. . .whenIreceivequestion 3. . .whenIreceivequestion 4. . .


Then you set the grren flag with:

whenclickedsetscoreto0broadcastquestion 1andwaitbroadcastquestion 2andwaitbroadcastquestion 3andwaitbroadcastquestion 4andwait. . .

Last edited by lederniersamourai (Feb. 17, 2016 18:16:48)

Powered by DjangoBB