That...is amazing!
Now, I'm sorry for doing the "Give them a finger, and they'll take the whole hand" cliche:
how would I make it so the answers would display only after the participant presses the spacebar?
Essentialy that would change the scenario to this:
"Please don't press the spacebar as there's a glitch that will display the answer when it's pressed!
(1) Display a math problem.
The participant can then provide an answer to continue to the next problem (any, doesn't have to be correct)
OR press the spacebar (once) to initiate the "glitch".
Spacebar presses are then recorded for each problem seperately (so pressing the spacebar 10x times during problem would still count as "1", 5x times during problem #2 counts as "2" and so on)
Is...is this as complicated as it seems or do you just have to get used to it?