I’m building a task with 6 condition blocks that I want to randomize in a loop. I am able to successfully randomize the conditions in a loop using a “conditions” file with all the possible blocks, then moving through them all. However, I need to be able to prevent some of the blocks from occurring after one another.
I have 4 types of animals that I’ll be presenting, with 6 unique files. It looks like this:
- Kittens (1)
- Kittens (2)
- Snakes (1)
- Snakes (2)
I need to be able to randomize these blocks without presenting kittens (1)/(2) or snakes (1)/(2) next to each other. Advice? Thanks.