目的:让stimuli能够随机呈现在实验中
Speadsheet:
代码:
//-------------------
// REQUIRED VARIABLES
//-------------------
// These are the variable you may want to change
// Spreadsheet processing
// Collecting and assigning player names to trials
// This variable indicates the spreadsheet metadata column we need to collect player names from
var _requiredDigitsSetColumn: string = ‘digitsSet’;
// This variable indicates the spreadsheet column we need to assign player names to
var _requiredDigitsAssignmentColumn: string = ‘digits’;
// This variable indicates the key in which we’ll store the random number used to shuffle the playerNames
// This way, if we need to rebuild the shuffled names for whatever reason (the participant refreshes the screen for example)
// They’l