Experiment(){
Context(){
AssignmentGroup(){
RandomizeTrials = 0;
SubjectCode = "pxlab";
SubjectGroup = 1;
DataFileTrialFormat = "%SubjectCode% %TrialCounter% %Identity% %Trial.Anagram.Anagram% %Trial.Anagram.Solution% %Trial.Anagram.ResponseTime@i%";
ExperimentName = lang2("Anagram Puzzles (in German)", "Anagramme");
TrialFactor = 1;
new Identity = 1;
}
Session(){
Instruction(){
Text = lang2("Anagrams\n \nWe show you sequences of letters, from which you can create words.\nCreate the word by selecting the letters with the mouse.\nYou can move the last moved letter back by selecting it with the mouse.\n For terminating your response press the spacebar.\n \nPress any key to start!", ["Anagramme", " ", "Es werden Ihnen Folgen von Buchstaben gezeigt, aus denen sich Wörter bilden lassen.", "Durch Anwählen mit der Maus können Sie aus den Buchstaben ein Wort zusammenstellen.", "Durch Anwählen des zuletzt bewegten Buchstabens können Sie diesen wieder zurückbewegen.", " ", "Wenn Sie ein Wort fertig haben oder keine Lösung finden können, drücken Sie bitte die Leertaste.", " ", "Zum Starten drücken Sie bitte eine beliebige Taste!"]);
}
}
SessionEnd(){
Message(){
Text = lang2("E N D", "E N D E");
Duration = 2000;
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
}
}
Block( ActiveSubjectGroups, BlockCounter, StoreData){
Message(){
Text = lang2("Press any button to go on!", "Zum Weitermachen bitte eine Taste drücken!");
Timer = de.pxlab.pxl.TimerCodes.RELEASE_RESPONSE_TIMER;
}
}
BlockEnd(){
Message(){
Text = "P A U S E";
Duration = 2000;
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
}
}
Trial( TrialCounter, Identity, Anagram.Anagram, Anagram.Solution, Anagram.ResponseTime){
Anagram(){
ResponseSet = 32;
Solution = "";
FontSize = 60;
}
ClearScreen(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 300;
}
}
// Command line assignments
AssignmentGroup();
}
Procedure(){
Session(){
Block( [1, 9], 0, 0){
Trial( ?, 1, "LELOR", ?, ?);
Trial( ?, 1, "ERZKE", ?, ?);
}
Block( 1, 1, 1){
Trial( ?, 1, "FIBRE", ?, ?);
Trial( ?, 1, "MREEI", ?, ?);
Trial( ?, 1, "AMURT", ?, ?);
Trial( ?, 1, "IEEBL", ?, ?);
Trial( ?, 1, "RADUE", ?, ?);
Trial( ?, 1, "LETAF", ?, ?);
}
Block( 1, 2, 1){
Trial( ?, 1, "EEPWS", ?, ?);
Trial( ?, 1, "BNLEE", ?, ?);
Trial( ?, 1, "TIIOD", ?, ?);
Trial( ?, 1, "SFITT", ?, ?);
Trial( ?, 1, "KAJCE", ?, ?);
Trial( ?, 1, "LHELÖ", ?, ?);
}
Block( 1, 3, 1){
Trial( ?, 1, "EMKAS", ?, ?);
Trial( ?, 2, "GINTE", ?, ?);
Trial( ?, 1, "NEERT", ?, ?);
Trial( ?, 2, "BMAET", ?, ?);
Trial( ?, 1, "FKART", ?, ?);
Trial( ?, 1, "FEGRA", ?, ?);
}
Block( 1, 4, 1){
Trial( ?, 2, "BEILR", ?, ?);
Trial( ?, 1, "ZLGNA", ?, ?);
Trial( ?, 2, "USTRA", ?, ?);
Trial( ?, 1, "EWAZN", ?, ?);
Trial( ?, 1, "NEUGZ", ?, ?);
Trial( ?, 1, "GNOBE", ?, ?);
}
Block( 1, 5, 1){
Trial( ?, 1, "ROIDA", ?, ?);
Trial( ?, 1, "AFLPE", ?, ?);
Trial( ?, 1, "ITESK", ?, ?);
Trial( ?, 1, "UKSMI", ?, ?);
Trial( ?, 1, "ÜTBLE", ?, ?);
Trial( ?, 1, "GENUJ", ?, ?);
}
Block( 1, 6, 1){
Trial( ?, 1, "CHHUS", ?, ?);
Trial( ?, 1, "ULRQI", ?, ?);
Trial( ?, 1, "NFGUU", ?, ?);
Trial( ?, 1, "RUNTA", ?, ?);
Trial( ?, 1, "IEGGE", ?, ?);
Trial( ?, 1, "LWOEK", ?, ?);
}
Block( 1, 7, 1){
Trial( ?, 1, "ÄERTN", ?, ?);
Trial( ?, 1, "ÄRREG", ?, ?);
Trial( ?, 2, "ZIEBL", ?, ?);
Trial( ?, 2, "OKLER", ?, ?);
Trial( ?, 1, "REFEN", ?, ?);
Trial( ?, 1, "OERGD", ?, ?);
}
Block( 1, 8, 1){
Trial( ?, 1, "SGSEI", ?, ?);
Trial( ?, 2, "EDLAM", ?, ?);
Trial( ?, 1, "ÖGNIK", ?, ?);
Trial( ?, 1, "SHFCI", ?, ?);
Trial( ?, 1, "SAEUP", ?, ?);
Trial( ?, 2, "ÄVENI", ?, ?);
}
Block( 1, 9, 1){
Trial( ?, 1, "WKECZ", ?, ?);
Trial( ?, 1, "RTNES", ?, ?);
Trial( ?, 1, "EETNI", ?, ?);
Trial( ?, 1, "BGÜNU", ?, ?);
Trial( ?, 1, "KEÜLC", ?, ?);
Trial( ?, 1, "KMRTA", ?, ?);
}
Block( 1, 10, 1){
Trial( ?, 1, "BRFAE", ?, ?);
Trial( ?, 1, "TRAEL", ?, ?);
Trial( ?, 1, "THILC", ?, ?);
Trial( ?, 1, "UETBE", ?, ?);
Trial( ?, 1, "DTRUS", ?, ?);
Trial( ?, 1, "VEUKR", ?, ?);
}
}
}
}