/ columns = [date, time, subject, group, blockcode, trialcode, response, correct, latency, stimulusitem, values.target_n, values.n_dropped, values.ducks_dropped, expressions.stop1, expressions.stop2, expressions.stop3, expressions.stop4, expressions.stop5, expressions.stop6, trial.one.totalcount, trial.one.totalcorrectcount, trial.one.totalerrorcount, trial.two.totalcount, trial.two.totalcorrectcount, trial.two.totalerrorcount, trial.three.totalcount, trial.three.totalcorrectcount, trial.three.totalerrorcount, trial.four.totalcount, trial.four.totalcorrectcount, trial.four.totalerrorcount, trial.five.totalcount, trial.five.totalcorrectcount, trial.five.totalerrorcount, trial.six.totalcount, trial.six.totalcorrectcount, trial.six.totalerrorcount ] / separatefiles = true / inputdevice = mouse / fontstyle = ("Verdana", -13, false, false, false, false, 5, 0) ******ITEMS*********** /1 = "duck_1.png" /2 = "duck_2.png" /3 = "pond.png" /items = stimuli /select = 3 /size = (1800,1200) /hposition = 75% /vposition = 50% / droptarget = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 1 /size = (200,200) /hposition = 24% /vposition = 45% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 2 /size = (200,200) /hposition = 5% /vposition = 30% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 1 /size = (200,200) /hposition = 20% /vposition = 30% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 2 /size = (200,200) /hposition = 15% /vposition = 40% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 1 /size = (200,200) /hposition = 25% /vposition = 55% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 2 /size = (200,200) /hposition = 5% /vposition = 20% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 1 /size = (200,200) /hposition = 10% /vposition = 35% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 2 /size = (200,200) /hposition = 20% /vposition = 35% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 1 /size = (200,200) /hposition = 30% /vposition = 55% /dropsource = true / dropposition = (anywhere, anywhere) /items = stimuli /select = 2 /size = (200,200) /hposition = 13% /vposition = 15% /dropsource = true / dropposition = (anywhere, anywhere) /1 = "If I want to make a duck jump in the pond, I go like this." /2 = "Can you make 1 duck jump in the pond?" /3 = "Can you make 2 ducks jump in the pond?" /4 = "Can you make 3 ducks jump in the pond?" /5 = "Can you make 4 ducks jump in the pond?" /6 = "Can you make 5 ducks jump in the pond?" /7 = "Can you make 6 ducks jump in the pond?" /8 = "Continue" /9 = "Try Again" /10 = "next" /11 = "previous" /12 = "Thank you for playing!" /items = labels /select = 1 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 2 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 3 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 4 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 5 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 6 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 7 /vposition = 90% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 8 /vposition = 90% /hposition = 90% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 9 /vposition = 90% /hposition = 10% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 10 /vposition = 5% /hposition = 90% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 11 /vposition = 5% /hposition = 10% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) /items = labels /select = 12 /vposition = 50% /hposition = 50% /color = black /fontstyle = ("Heiti TC", 4.00%, false, false, false, false, 5, 0) ****************EXPERIMENT************* /blocks = [1=demo; 2=test; 3=end] /trials = [1=demo] /trials = [1=one] /stop = [ (trial.one.totalerrorcount >=2) || (trial.one.totalcorrectcount >=2 && trial.two.totalerrorcount >=2) || (trial.two.totalcorrectcount >=2 && trial.three.totalerrorcount >=2) || (trial.three.totalcorrectcount >=2 && trial.four.totalerrorcount >=2) || (trial.four.totalcorrectcount >=2 && trial.five.totalerrorcount >=2) || (trial.five.totalcorrectcount >=2 && trial.six.totalerrorcount >=2) || (trial.six.totalcorrectcount >=2)] / stop1 = if (trial.one.totalerrorcount >=2) true else false / stop2 = if (trial.one.totalcorrectcount >=2 && trial.two.totalerrorcount >=2) true else false / stop3 = if (trial.two.totalcorrectcount >=2 && trial.three.totalerrorcount >=2) true else false / stop4 = if (trial.three.totalcorrectcount >=2 && trial.four.totalerrorcount >=2) true else false / stop5 = if (trial.five.totalcorrectcount >=2 && trial.six.totalerrorcount >=2) true else false / stop6 = if (trial.six.totalcorrectcount >=2) true else false /trials = [ 1=end ] / stimulusframes = [1=continue, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / validresponse = (continue, try_again) / posttrialpause = 1000 / target_n = 0 / n_dropped = 0 / ducks_dropped = "" / ontrialbegin = [ values.target_n = 1; values.n_dropped = 0; values.ducks_dropped = ""; ] / stimulusframes = [1=one, plus_one, minus_one, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / isvalidresponse = [ if (!contains(values.ducks_dropped, trial.one.lastdropsource) && trial.one.response == "pond") { values.ducks_dropped = concat(concat(values.ducks_dropped, ","), trial.one.lastdropsource); values.n_dropped += 1; false; } else if (trial.one.response == "plus_one" || trial.one.response == "minus_one" || trial.one.response == "try_again") { true; } ] / validresponse = (plus_one, minus_one, try_again) / correctresponse = (plus_one) /ontrialbegin=[ picture.duck_1_a.hposition=24%; picture.duck_1_a.vposition=45%; picture.duck_1_b.hposition=5%; picture.duck_1_b.vposition=30%; picture.duck_2_a.hposition=20%; picture.duck_2_a.vposition=30%; picture.duck_2_b.hposition=15%; picture.duck_2_b.vposition=40%; picture.duck_3_a.hposition=25%; picture.duck_3_a.vposition=55%; picture.duck_3_b.hposition=5%; picture.duck_3_b.vposition=20%; picture.duck_4_a.hposition=10%; picture.duck_4_a.vposition=35%; picture.duck_4_b.hposition=20%; picture.duck_4_b.vposition=35%; picture.duck_5_a.hposition=30%; picture.duck_5_a.vposition=55%; picture.duck_5_b.hposition=13%] /branch = [if (trial.one.response == "try_again") trial.one] /branch = [if (trial.one.response == "minus_one") trial.one] /branch = [if (trial.one.response == "plus_one") trial.three] / ontrialbegin = [ values.target_n = 2; values.n_dropped = 0; values.ducks_dropped = ""; ] / stimulusframes = [1=two, plus_one, minus_one, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / isvalidresponse = [ if (!contains(values.ducks_dropped, trial.two.lastdropsource) && trial.two.response == "pond") { values.ducks_dropped = concat(concat(values.ducks_dropped, ","), trial.two.lastdropsource); values.n_dropped += 1; false; } else if (trial.two.response == "plus_one" || trial.two.response == "minus_one" || trial.two.response == "try_again") { true; } ] / validresponse = (plus_one, minus_one, try_again) / correctresponse = (plus_one) /ontrialbegin=[ picture.duck_1_a.hposition=24%; picture.duck_1_a.vposition=45%; picture.duck_1_b.hposition=5%; picture.duck_1_b.vposition=30%; picture.duck_2_a.hposition=20%; picture.duck_2_a.vposition=30%; picture.duck_2_b.hposition=15%; picture.duck_2_b.vposition=40%; picture.duck_3_a.hposition=25%; picture.duck_3_a.vposition=55%; picture.duck_3_b.hposition=5%; picture.duck_3_b.vposition=20%; picture.duck_4_a.hposition=10%; picture.duck_4_a.vposition=35%; picture.duck_4_b.hposition=20%; picture.duck_4_b.vposition=35%; picture.duck_5_a.hposition=30%; picture.duck_5_a.vposition=55%; picture.duck_5_b.hposition=13%] /branch = [if (trial.two.response == "try_again") trial.two] /branch =[if (trial.two.response == "plus_one") trial.three] /branch = [if (trial.two.response == "minus_one") trial.one] / ontrialbegin = [ values.target_n = 3; values.n_dropped = 0; values.ducks_dropped = ""; ] / stimulusframes = [1=three, plus_one, minus_one, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / isvalidresponse = [ if (!contains(values.ducks_dropped, trial.three.lastdropsource) && trial.three.response == "pond") { values.ducks_dropped = concat(concat(values.ducks_dropped, ","), trial.three.lastdropsource); values.n_dropped += 1; false; } else if (trial.three.response == "plus_one" || trial.three.response == "minus_one" || trial.three.response == "try_again") { true; } ] / validresponse = (plus_one, minus_one, try_again) / correctresponse = (plus_one) /ontrialbegin=[ picture.duck_1_a.hposition=24%; picture.duck_1_a.vposition=45%; picture.duck_1_b.hposition=5%; picture.duck_1_b.vposition=30%; picture.duck_2_a.hposition=20%; picture.duck_2_a.vposition=30%; picture.duck_2_b.hposition=15%; picture.duck_2_b.vposition=40%; picture.duck_3_a.hposition=25%; picture.duck_3_a.vposition=55%; picture.duck_3_b.hposition=5%; picture.duck_3_b.vposition=20%; picture.duck_4_a.hposition=10%; picture.duck_4_a.vposition=35%; picture.duck_4_b.hposition=20%; picture.duck_4_b.vposition=35%; picture.duck_5_a.hposition=30%; picture.duck_5_a.vposition=55%; picture.duck_5_b.hposition=13%] /branch = [if (trial.three.response == "try_again") trial.three] /branch =[if (trial.three.response == "plus_one") trial.four] /branch = [if (trial.three.response == "minus_one") trial.two] / ontrialbegin = [ values.target_n = 4; values.n_dropped = 0; values.ducks_dropped = ""; ] / stimulusframes = [1=four, plus_one, minus_one, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / isvalidresponse = [ if (!contains(values.ducks_dropped, trial.four.lastdropsource) && trial.four.response == "pond") { values.ducks_dropped = concat(concat(values.ducks_dropped, ","), trial.four.lastdropsource); values.n_dropped += 1; false; } else if (trial.four.response == "plus_one" || trial.four.response == "minus_one" || trial.four.response == "try_again") { true; } ] / validresponse = (plus_one, minus_one, try_again) / correctresponse = (plus_one) /ontrialbegin=[ picture.duck_1_a.hposition=24%; picture.duck_1_a.vposition=45%; picture.duck_1_b.hposition=5%; picture.duck_1_b.vposition=30%; picture.duck_2_a.hposition=20%; picture.duck_2_a.vposition=30%; picture.duck_2_b.hposition=15%; picture.duck_2_b.vposition=40%; picture.duck_3_a.hposition=25%; picture.duck_3_a.vposition=55%; picture.duck_3_b.hposition=5%; picture.duck_3_b.vposition=20%; picture.duck_4_a.hposition=10%; picture.duck_4_a.vposition=35%; picture.duck_4_b.hposition=20%; picture.duck_4_b.vposition=35%; picture.duck_5_a.hposition=30%; picture.duck_5_a.vposition=55%; picture.duck_5_b.hposition=13%] /branch = [if (trial.four.response == "try_again") trial.four] /branch =[if (trial.four.response == "plus_one") trial.five] /branch = [if (trial.four.response == "minus_one") trial.three] / ontrialbegin = [ values.target_n = 5; values.n_dropped = 0; values.ducks_dropped = ""; ] / stimulusframes = [1=five, plus_one, minus_one, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / isvalidresponse = [ if (!contains(values.ducks_dropped, trial.five.lastdropsource) && trial.five.response == "pond") { values.ducks_dropped = concat(concat(values.ducks_dropped, ","), trial.five.lastdropsource); values.n_dropped += 1; false; } else if (trial.five.response == "plus_one" || trial.five.response == "minus_one" || trial.five.response == "try_again") { true; } ] / validresponse = (plus_one, minus_one, try_again) / correctresponse = (plus_one) /ontrialbegin=[ picture.duck_1_a.hposition=24%; picture.duck_1_a.vposition=45%; picture.duck_1_b.hposition=5%; picture.duck_1_b.vposition=30%; picture.duck_2_a.hposition=20%; picture.duck_2_a.vposition=30%; picture.duck_2_b.hposition=15%; picture.duck_2_b.vposition=40%; picture.duck_3_a.hposition=25%; picture.duck_3_a.vposition=55%; picture.duck_3_b.hposition=5%; picture.duck_3_b.vposition=20%; picture.duck_4_a.hposition=10%; picture.duck_4_a.vposition=35%; picture.duck_4_b.hposition=20%; picture.duck_4_b.vposition=35%; picture.duck_5_a.hposition=30%; picture.duck_5_a.vposition=55%; picture.duck_5_b.hposition=13%] /branch = [if (trial.five.response == "try_again") trial.five] /branch =[if (trial.five.response == "plus_one") trial.six] /branch = [if (trial.five.response == "minus_one") trial.four] / ontrialbegin = [ values.target_n = 6; values.n_dropped = 0; values.ducks_dropped = ""; ] / stimulusframes = [1=six, minus_one, plus_one, try_again, pond, duck_1_a, duck_1_b, duck_2_a, duck_2_b, duck_3_a, duck_3_b, duck_4_a, duck_4_b, duck_5_a, duck_5_b, pond] / inputdevice = dragdrop / showmousecursor = true /droptargets = (pond) / isvalidresponse = [ if (!contains(values.ducks_dropped, trial.six.lastdropsource) && trial.six.response == "pond") { values.ducks_dropped = concat(concat(values.ducks_dropped, ","), trial.six.lastdropsource); values.n_dropped += 1; false; } else if (trial.six.response == "plus_one" || trial.six.response == "minus_one" || trial.six.response == "try_again") { true; } ] / validresponse = (minus_one, try_again, plus_one) / correctresponse = (plus_one) /ontrialbegin=[ picture.duck_1_a.hposition=24%; picture.duck_1_a.vposition=45%; picture.duck_1_b.hposition=5%; picture.duck_1_b.vposition=30%; picture.duck_2_a.hposition=20%; picture.duck_2_a.vposition=30%; picture.duck_2_b.hposition=15%; picture.duck_2_b.vposition=40%; picture.duck_3_a.hposition=25%; picture.duck_3_a.vposition=55%; picture.duck_3_b.hposition=5%; picture.duck_3_b.vposition=20%; picture.duck_4_a.hposition=10%; picture.duck_4_a.vposition=35%; picture.duck_4_b.hposition=20%; picture.duck_4_b.vposition=35%; picture.duck_5_a.hposition=30%; picture.duck_5_a.vposition=55%; picture.duck_5_b.hposition=13%] /branch = [if (trial.six.response == "try_again") trial.six] /branch = [if (trial.six.response == "plus_one") trial.six] /branch = [if (trial.six.response == "minus_one") trial.five] / stimulusframes = [1=thank_you] / validresponse = (thank_you)