Hi everyone,
I want to implement a multiple choice question so students have to choose two right answers to get to a certain stage of the game. Is that possible? In CoBlocks I can only select one right answer.
Thanks a lot in advance!
Hi everyone,
I want to implement a multiple choice question so students have to choose two right answers to get to a certain stage of the game. Is that possible? In CoBlocks I can only select one right answer.
Thanks a lot in advance!
Hi @Denise_Flamig !
I’ve created a demo project with three different choice panel solutions for you:
Tiger - Simple single answer (works good in CoBlocks)
Standard multiple choice question with only one correct answer.
Uses showChoicePanel with basic if/else logic.
Camel - AND Logic (Answer 1 AND Answer 3 must both be selected)
Students must click twice and select BOTH correct answers.
Tracks selections across multiple interactions in typeScript.
Can be done in CoBlocks: by using nested choice panels.
Zebra - OR Logic (Answer 1 OR Answer 3 are both correct)
Either answer is accepted as correct.
Can be easily done in CoBlocks: TypeScript has a bit complicated solution here, but it can be done.
For your specific question (selecting two answers with AND logic), the Camel example is what you need. Please note that choosing both correct answers in the Choice panel is not supported in Codeblocks, or within the TypeScript API.
You can view/remix the complete project here: [ECC-KWH]
Hope this helps!