I'm trying to do this:
variable[playernumber][arrayposition] = thisvalue;
Should I instead be thinking of "variable" as an array object which itself contains an array? Perhaps something like:
variable[playernumber].subvariable[arrayposition]
Note: Number of players is theoretically infinite, so I can't use a switch.