Thank you for the quick replies!
@holch&jelo:
A1, B1,.. are groups with 1 question each, that is shown for 15 seconds. The question is actually just a picture, so nothing is entered by the participants.
A2, B2,... are groups with 3 questions on that picture with a time limit of 4 minutes.
The picture is displayed alongside the questions again, so A2, B2,.. are all different and obviously need to follow the correct picture. But I think you managed to guess correctly, what I meant anway, jelo: subgroups were exactly what I had in mind as a solution. Shame that doesn't work. Creating every possible sequence sounds daunting - for 4 out of 10 in random order there are 5040 possible sequences.
@ tpartner: Unfortunately I'm not exactly an expert on JavaScript, so I might be missing something, but as far as I can tell this solution only helps with the random selection? It might also shuffle the groups that are randomly chosen, but I need something that shuffles groups in sets of 2 so to speak (as if one group was a subgroup of the other).
The topic has been locked.