7.2 Experiment: Digit Span
Visual digit span with stop rule: 3 trials per list length, loop over list lengths, and repeat if at least one correct response out of the last 3 trials, otherwise stop the task
Code outline: - Instructions - Create or read in the digit sequences (3 trials per list length, from 3 to 12 digits) - Digit presentation trial - Either nested timeline (3 trials per list length, with 10 list lengths), or non-nested timeline (just the digit presentation trial)? - Loop over digit presentation trial(s), after the 3rd trial for each list length, check to see if at least one correct response from last 3 trials - either continue or stop - End screen