Code to Randomize Stimuli per Trial (Balloon Analogue Risk Task)


Author
Message
Marusil2yada
Marusil2yada
Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)
Group: Forum Members
Posts: 5, Visits: 7
Hi everyone,

I once asked this question in the Inquisit 6 forum, but I am asking again because I had to make it in Inquisit 5, which our lab computer has.

I'm working on a project involving the Balloon Analogue Risk Task (BART), and I need some help with editing the code. The original task involves a red balloon that participants inflate to earn money, risking it popping. In my version, I want to introduce a twist: the balloon's color should change randomly at the start of each of the 30 trials.

I have six different balloon images and have figured out how to integrate them into the code. However, my current challenge is that the balloon's type changes with every press of the "pump up" button. I need the balloon's type (color) to remain constant throughout a single trial and only change when a new trial begins.

Could anyone guide me on how to modify the code to achieve this? I have attached the code file for reference.

Thank you in advance for your assistance!


Attachments
bart.iqx (104 views, 30.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search