[open] "Wack-a-Mole Game" Help Needed
Hello everyone! I am fairly new to OpenSesame and Python coding. I am trying to create an experiment on an android tablet that will display a single dot on the screen until touched by the user. After this response I would like another dot to appear in a different area on the screen and the user would again touch this dot and so on and so forth. The touch must be fairly close to the dot before it will disappear and the code will need to record data such as reaction time and accuracy. Another fairly odd feature of this experiment is that the dots must appear in a sequential order (not randomly) with about 16 different locations on the screen. I have no idea if OpenSesame is even capable of doing something like this so any help would be greatly appreciated even if it is just to get me started! If you have any other questions about the experiment please feel free to respond with them. Thanks everybody!
Comments
Hi,
This shouldn't be too hard to implement, although the details depend on what exactly you want to do.
loopitem, typically the block_loop (if you're working from the Extended Template). So you would for example define adot_xand adot_yvariable.sketchpadto present a dot (or whatever) on the location specified bydot_x,dot_y, typically as part of the trial_sequence.mouse_responseitem. This will log the cursor (= touch) coordinates, which you can use to determine the accuracy during the analysis.Since this is all pretty standard stuff, I'll refer you to the beginner tutorial if you're unsure how to implement this:
Good luck!
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!