---------------------------------------------------------------------------------------
*** DEFAULTS *****
---------------------------------------------------------------------------------------			

<defaults>
/ screencolor = (255,255,255)
/ font = ("Arial", -24, 700, 0, 34)
/ txbgcolor = (255,255,255)
/ txcolor = (0,0,0)
/ inputdevice = keyboard
</defaults>

<data> 
/ columns = [date time subject trialcode trialnum latency response stimulusitem] 
</data>

------------------------------------------------------------------------------------
*** TEXTS AND TARGETS *****
------------------------------------------------------------------------------------
<text false>
/ items = false
/ color = (255, 0, 0)
/ position =(50,80)
</text>

<item false>
/1 ="false"			  		
</item>

<text red_yellow>
/ select = noreplace
/ items = red_yellow
/ color = (255, 0, 0)
</text>

<item red_yellow>
/1 ="yellow"			  		
</item>

<text yellow_yellow>
/ select = noreplace
/ items = yellow_yellow
/ color = (255, 255, 0)
</text>

<item yellow_yellow>
/1 ="yellow"				  		
</item>

<text green_yellow>
/ select = noreplace
/ items = green_yellow
/ color = (0, 255, 0)
</text>

<item green_yellow>
/1 ="yellow" 		
</item>

<text blue_yellow>
/ select = noreplace
/ items = blue_yellow
/ color = (0, 0, 255)
</text>

<item blue_yellow>
/1 ="yellow"			 		
</item>

<text red_green>
/ select = noreplace
/ items = red_green
/ color = (255, 0, 0)
</text>

<item red_green>
/1 ="green"			  		
</item>

<text yellow_green>
/ select = noreplace
/ items = yellow_green
/ color = (255, 255, 0)
</text>

<item yellow_green>
/1 ="green"					  		
</item>

<text green_green>
/ select = noreplace
/ items = green_green
/ color = (0, 255, 0)
</text>

<item green_green>
/1 ="green"	  		
</item>

<text blue_green>
/ select = noreplace
/ items = blue_green
/ color = (0, 0, 255)
</text>

<item blue_green>
/1 ="green"			 		
</item>

<text red_red>
/ select = noreplace
/ items = red_red
/ color = (255, 0, 0)
</text>

<item red_red>
/1 ="red"			  		
</item>

<text yellow_red>
/ select = noreplace
/ items = yellow_red
/ color = (255, 255, 0)
</text>

<item yellow_red>
/1 ="red"				  		
</item>

<text green_red>
/ select = noreplace
/ items = green_red
/ color = (0, 255, 0)
</text>

<item green_red>
/1 ="red"	  		
</item>


<text blue_red>
/ select = noreplace
/ items = blue_red
/ color = (0, 0, 255)
</text>

<item blue_red>
/1 ="red"			 		
</item>

<text red_blue>
/ select = noreplace
/ items = red_blue
/ color = (255, 0, 0)
</text>

<item red_blue>
/1 ="blue"			  		
</item>

<text yellow_blue>
/ select = noreplace
/ items = yellow_blue
/ color = (255, 255, 0)
</text>

<item yellow_blue>
/1 ="blue"				  		
</item>

<text green_blue>
/ select = noreplace
/ items = green_blue
/ color = (0, 255, 0)
</text>

<item green_blue>
/1 ="blue"  		
</item>


<text blue_blue>
/ select = noreplace
/ items = blue_blue
/ color = (0, 0, 255)
</text>

<item blue_blue>
/1 ="blue"			 		
</item>

<text target>
/ select = noreplace
/ items = target
/ color = (255, 255, 255)
</text>

<item target>
/1 ="*"			
			  		
</item>
------------------------------------------------------------------------------------
*** INSTRUCTION PAGES *****
------------------------------------------------------------------------------------

<instruct> 
/ nextkey = (" ")
/ lastlabel = "Press the spacebar to continue"
/ nextlabel = "Press the spacebar to continue"
/ font = ("Arial", -18, 400, 0, 34)
/ screencolor = (255,255,255)
/ txcolor = (0,0,0)
/ wait = 500
</instruct>

<page welcome>
^^^^
Welcome to the Stroop Color Task.
</page>

<page page1>
Your task is to determine whether the word that appears on the screen is yellow, green, red or blue. Click on one of the four buttons that matches the color of the word (not the meaning of the word). You will have 20 trials. Try to respond as quickly as you can, because you will be timed.
</page>

<page end>
This is the end. Thank you for your participation. 
</page>

------------------------------------------------------------------------------------
*** TRIALS *****
------------------------------------------------------------------------------------

<likert wordsred> 
/ anchors = [1 = "red"; 2 = "green"; 3 = "blue"; 4 = "yellow"]
/ anchorwidth = 50
/ mouse= true
/ numpoints = 4
/ position = (50,70)
/ correctresponse = (1)
/ errormessage = true(false,400)
/ stimulustimes = [200=noreplace(red_red,red_yellow,red_green,red_blue)]
</likert>

<likert wordsgreen> 
/ anchors = [1 = "red"; 2 = "green"; 3 = "blue"; 4 = "yellow"]
/ anchorwidth = 50
/ mouse= true
/ numpoints = 4
/ position = (50,70)
/ correctresponse = (2)
/ errormessage = true(false,400)
/ stimulustimes = [200=noreplace(green_red,green_yellow,green_green,green_blue)]
</likert>

<likert wordsblue> 
/ anchors = [1 = "red"; 2 = "green"; 3 = "blue"; 4 = "yellow"]
/ anchorwidth = 50
/ mouse= true
/ numpoints = 4
/ position = (50,70)
/ correctresponse = (3)
/ errormessage = true(false,400)
/ stimulustimes = [200=noreplace(blue_red,blue_yellow,blue_green,blue_blue)]
</likert>

<likert wordsyellow> 
/ anchors = [1 = "red"; 2 = "green"; 3 = "blue"; 4 = "yellow"]
/ anchorwidth = 50
/ mouse= true
/ numpoints = 4
/ position = (50,70)
/ correctresponse = (4)
/ errormessage = true(false,400)
/ stimulustimes = [200=noreplace(yellow_red,yellow_yellow,yellow_green,yellow_blue)]
</likert>

------------------------------------------------------------------------------------
*** BLOCKS *****
------------------------------------------------------------------------------------


<block series1>
/ preinstructions =(page1)
/ trials = [1-20 =noreplace(wordsred,wordsgreen,wordsyellow,wordsblue)]
</block>

------------------------------------------------------------------------------------
*** EXPERIMENT*****
------------------------------------------------------------------------------------

<expt>
/ blocks = [1=series1]
/ preinstructions = (welcome)
/ postinstructions = (end)
</expt>


