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

Turn based battle: Statistics for certain opponent #15

Open
MrStahlfelge opened this issue Aug 23, 2020 · 0 comments
Open

Turn based battle: Statistics for certain opponent #15

MrStahlfelge opened this issue Aug 23, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MrStahlfelge
Copy link
Owner

MrStahlfelge commented Aug 23, 2020

Show a statistic about the challenges with the player you are playing against

  • how many lines were sent per turn on average, something like
  • how many games have been played and win ratio

Open questions

Where could this be shown?

  • Profile page of the other player?
  • Second page on the leaderboard screen listing opponents?

How long should the data be saved? For what opponents it should be shown?

  • Should the backend delete the data for opponents you didn't play against for a very long time?
  • Should the stats only be shown for regular opponents? Or for "friends"? (That don't exist yet)

Data model (backend)

New table on the backend pvp_stats
columns: player1, player2, win1, win2, count, lines_sent1, lines_sent2, last_match

@MrStahlfelge MrStahlfelge added the enhancement New feature or request label Aug 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant