This advanced topic activity is very simple. HERE is the code for a simple version of the n-back paradigm.
I am assuming you know the n-back Paradigm, but in case you do not it works this way (there are a lot of variations on it, this is one). You will see a series of digits. If the digit you see is the same as the one that is 2 digits before it, you will need to respond by pressing the space bar. You will be given an accuracy count at the end - be focused, those digits come quickly!
For example, if you saw 1 1 2 2 1 3 1 you would respond as the last 1 matches the number 2 before it. You could also of course have code to do a 1 back or a 3 back or any number back (hence the name n-back).
Things To Do
1. Download the code, play it, and experience it working.
2. Go through and add comments to EACH line of code once you figure out what it is doing. Once you are done this step, I can email you a file with all of the comments in.
3. Try adding in the one back and three back conditions. It would be easiest to do these as blocks.
I am assuming you know the n-back Paradigm, but in case you do not it works this way (there are a lot of variations on it, this is one). You will see a series of digits. If the digit you see is the same as the one that is 2 digits before it, you will need to respond by pressing the space bar. You will be given an accuracy count at the end - be focused, those digits come quickly!
For example, if you saw 1 1 2 2 1 3 1 you would respond as the last 1 matches the number 2 before it. You could also of course have code to do a 1 back or a 3 back or any number back (hence the name n-back).
Things To Do
1. Download the code, play it, and experience it working.
2. Go through and add comments to EACH line of code once you figure out what it is doing. Once you are done this step, I can email you a file with all of the comments in.
3. Try adding in the one back and three back conditions. It would be easiest to do these as blocks.