I am making some changes to my experiment and don’t have much experience with coding. I have 24 stimuli in the routine that would essentially be broken down in 12 trials each.
I have a current code that runs like this:
Begin Routine tab
if practiceLoop.thisN == 0:
score = 0
End Routine tab
score = score +1
if practiceLoop.thisN = 11 and score >= 8
practiceLoop.finished = True.
I would like to make some changes such as:
- An image will show if the participant scores < 8 correctly on the first 12 trials and they proceed to do the remaining 12 stimuli.
- In the remaining 12 stimuli, if they score < 8 correctly, they will skip the startGame and next trial routine and go back to the start for another condition. I have shown the current routine and loop in the builder view below.
Is there a way to achieve both of these changes with the current coding that I have or do I have to do something else to achieve them?