I have a set of data for 5 people. The data goes: "#ofKeys","PreferedCrate","Round1Results","Round2Results","Round2Results"
What I would like is for the data to be in some form of a 2D array so that it covers all information about all 5 players.
I will then like for the data to log the average of the 3 rounds for each player, as well as best and worst result that each player got.
I am not really sure how to approach this, so any help would be appreciated.
So far all I have really done is made a little array of items as follows:
var playerdata = [[2, Assault, 1,1,10],
[0, Support, 3,2,11],
[1, Assault, 7,12,1],
[0, Assault, 5,9,14],
[0, Assault, 11,17,18]];