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

fix: update player stats to use dartsElo instead of elo #24

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

cornedor
Copy link
Owner

Pull Request Description

This pull request addresses an important update to the player statistics logic within the game. The key changes include:

  • Modification of Player Stats Calculation: The logic for updating player statistics has been revised to utilize the dartsElo property instead of the previously used elo. This change applies to both winners and losers in the game mode.

  • Improved Accuracy: By using the dartsElo, we ensure that the Elo ratings are specific to darts, which enhances the accuracy of player performance tracking.

These changes are crucial for maintaining the integrity of player statistics and ensuring that the performance metrics reflect the true skill levels of the players involved.

Please review the changes and provide any feedback or approval for merging.

Change the player statistics update logic to use the `dartsElo` 
property instead of `elo` for both winners and losers. This ensures 
that the correct Elo rating specific to darts is utilized in the 
game mode, improving the accuracy of player performance tracking.
Copy link

vercel bot commented Feb 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
creeplogger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 8:49pm

@cornedor cornedor merged commit 4e122ab into main Feb 13, 2025
2 checks passed
@cornedor cornedor deleted the darts-elo-fix branch February 13, 2025 20:50
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.

1 participant