Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201945

How to modify this code, so that it could display the objects in table stroop in equal number?

$
0
0

bitmaps

instruction1

instruction2

correct

mistake

fixpoint

yellowyellow

yellowgreen

yellowblue

yellowred

redyellow

redgreen

redblue

redred

greenyellow

greengreen

greenblue

greenred

blueyellow

bluegreen

blueblue

bluered

fonts arial 20

table stroop

"yellow yellow 1" yellowyellow 4

"yellow green 0" yellowgreen 2

"yellow blue 0" yellowblue 3

"yellow red 0" yellowred 1

"red yellow 0" redyellow 4

"red green 0" redgreen 2

"red blue 0" redblue 3

"red red 1" redred 1

"green yellow 0" greenyellow 4

"green green 1" greengreen 2

"green blue 0" greenblue 3

"green red 0" greenred 1

"blue yellow 0" blueyellow 4

"blue green 0" bluegreen 2

"blue blue 1" blueblue 3

"blue red 0" bluered 1

task stroop
table stroop
keys r g b y
delay 500
show bitmap fixpoint
delay 200
clear 1
delay 100
show bitmap @2
readkey @3 2000
clear 2
if STATUS == CORRECT
show bitmap correct
fi
if STATUS != CORRECT
show bitmap mistake
fi
delay 500
clear 3
save BLOCKNAME @1 TABLEROW KEY STATUS RT

block training
message instruction1
message instruction2
tasklist
stroop 100
end


Viewing all articles
Browse latest Browse all 201945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>