If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): win10
**What are you trying to achieve?:
I’m trying to make a loop which repeats until the participants get all the questions in ‘check’ routine correct, which are composed of 4 random questions.
I’ve set nReps of trials_2 as 100, so that it ends before 100 whenever the participants get all right.
What I want is this.
i) If he/she gets perfectly right, she can move on to next routine.
ii) If he/she gets wrong for 1 or more questions, he/she has to move back to memorize_1 routine and study it again.
With current code, no matter I get right or wrong, it just moves to the next routine without repeating.
Flow and the code I inserted for ending trial is as below.
What did you try to make it work?:
Thanks for your help in advance.
You always help me a lot.