Randomize the number of repeats($nReps)

Hi, Michael.
Thank you for your answering!

I have another questions. Actually I changed my code referring to the link below. So I could give a visual feedback when the participants gives a response.
Give visual feedback based on response without ending trial - #4 by dvbridges

Then, I combined the visual feedback code with the feedback code of Balloon Analogue Risk Task(BART) DEMO file. The number of button press for feedback was randomized by Excel functions.
https://github.com/psychopy/psychopy/tree/master/psychopy/demos/builder/BART

I could give not only the immediate feedback for responses, but also the “reward feedback” which is given for several button presses.

But, there are two problems. First, I would like to put intertrial interval for about 20 seconds after “reward feedback”, but in my routine, the [space] key response also works intactly in intertrial interval which is time for pause.
Second, I would like to put black background, using polygon rectangle, but, it’s not possible to make the polygon appear behind the other stimulus.

Thank you again for your help!

Jimin