sunnydl / GamePerformanceTracker

Team project for CSE 115A in Fall 2021, UCSC
3 stars 0 forks source link

Match history chart data computation #59

Closed sunnydl closed 2 years ago

sunnydl commented 2 years ago

In the analysisMatchWinLoss function in matchService please also collect data such as kills, deaths, and assist and put them into separate lists For example

const kill = []
const deaths = []
const assist = []

and then at the end of the function, put every list into an object and return the object

const data = {
   kills,
   deaths,
   assists,
   winlose,
}
return data