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

⭐️ Update card selection algorithm #150

Closed
AdrKacz opened this issue Jun 9, 2024 · 1 comment · Fixed by #177
Closed

⭐️ Update card selection algorithm #150

AdrKacz opened this issue Jun 9, 2024 · 1 comment · Fixed by #177
Labels
enhancement New feature or request P1 Top priority

Comments

@AdrKacz
Copy link
Owner

AdrKacz commented Jun 9, 2024

Is your feature request related to a problem? Please describe.

Cards are selected purely at random, you could find on a very hard card even if you are still super bad.

Describe the solution you'd like

Make sure to consider the level of the player when selecting a card (kind of a "max level stuff"). There shouldn't be need to use a random probability as it's already a weighted pick per level as there are more level 1 than level 3. So the number of card available tells you their rarety (if only 5Star over 100 card, you have 1/100 chance to get it)
But to be adjusted with a "maximum level you can get" based on you latest performances. Maybe update according to the latest game (so if the player has a good strike right now, increase the chance to get a better card, I don't know, maybe not, keep it simple)

@AdrKacz AdrKacz added enhancement New feature or request P2 Medium priority P3 Low priority P1 Top priority and removed P2 Medium priority P3 Low priority labels Jun 9, 2024
@AdrKacz
Copy link
Owner Author

AdrKacz commented Jun 16, 2024

That's kind of important. Had some testing with real users, they jump from a 1Star to a 70 Required, that was though, need to find a better way.

@AdrKacz AdrKacz linked a pull request Jun 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 Top priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant