How to present a stimulus base on the correct and incorrect response?
I'm working with a small experiment, but I had problems with the logic to put a specific stimulus base on the response of the participant. I would like to do the following steps:
- I have four trials, the two ones with same delay but different amount, and the two others with different delay but same amount.
- If the participant choose the option on the right side (pressing M keyboard), that is correct (because s/he can win more with the same delay) and s/he can pass to the next trial.
- If the participant choose the option on the left side (pressing Z keyboard), that is incorrect and the same trial must be presented until 4 times more (as a limit if the wrong answer is presented). If the same trial is presented 5 times, the next trial must start and so on.
- I would like to save how many times a trial was presented and the participant's response in each trial.
I'm thinking to use the following structure, but it doesn't work.