project-slippi / slippi-js

Parse slp files and compute stats
GNU Lesser General Public License v3.0
148 stars 79 forks source link

Grab/Throw Stats. Updated handleActionCompute() #52

Closed OGoodness closed 3 years ago

OGoodness commented 3 years ago

You can now get the counts for the amount of grabs (successful/failures) and the number of throws including their direction.

Updated the handleActionCompute() function to fulfill the FIXME that wanted the playerCounts object to be dynamically referenced by object key, not just by a normal string. Basically, you can now create nested values and update them