Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubles Stats #54

Merged
merged 32 commits into from
Apr 13, 2021
Merged

Doubles Stats #54

merged 32 commits into from
Apr 13, 2021

Conversation

OGoodness
Copy link
Contributor

Added the ability to calculate doubles stats.
Treat every other player on the stage as an opponent during combo.

Change perspective of combos/conversions to be from the victims point of view.
Combos now belong to the victim, you can identify whos combo it is by checking the moveIds.
Conversions now also belong to the victim.

Can calculate stats for free-for-all, teams, and 1v1.
Overall, the character handling should be more generalized.

Also added test cases for src/melee and src/console

Copy link
Member

@vinceau vinceau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the most part I'm very happy with this PR. Only have some thoughts and comments regarding the overall stats.

src/stats/overall.ts Outdated Show resolved Hide resolved
Copy link
Member

@vinceau vinceau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vinceau vinceau merged commit 3de9791 into project-slippi:master Apr 13, 2021
vinceau added a commit that referenced this pull request May 10, 2021
vinceau added a commit that referenced this pull request May 10, 2021
* Revert "Doubles Stats (#54)"

This reverts commit 3de9791.

* refactor: remove player indices from SlippiGame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants