This might seem like a stupid question, however im not able to solve it myself.
The experiment: A randomized list of words (one word at a time) is presented to the user where every word is colored either in red, yellow, green or blue. Depending on the color of the word the user needs to press a specific key (so it’s similar to a stroop test).
What I’ve done: Created an Excel spreadsheet with the following columns: “words”, “colors”, “correctKey”. It looks like this:
words colors correctKey dog red d dog yellow f dog green j dog blue k cat red d cat yellow f cat green j cat blue k bird red d bird yellow f bird green j bird blue k <..etc..>
In the Builder I then create a Routine (displaying text with $words, color with $colors and correct answer with $correctKey). I put a loop around that routine (conditions is set to the spreadsheet). nReps is set to 2.
It works just fine.
Every word is displayed randomly in every color, twice.
However: is there an easier way of organizing the words and colors? Because in the future other people will use this experiment with their own lists of words. Depending on the number of words and colors it will be rather time consuming to create the excel spreadsheet.
Is there some way of having just one list of words (dog, cat, bird, etc) and one list of colors (red, yellow, green, blue) without writing down every possible combination of those two lists in the spreadsheet?