-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
[FEATURE] Energy Calculator #121
Comments
@r0adkll I dont know much about coding but I have been crunching numbers with my deck and I think I have an idea where the equation for the feature should start. So it'd look like: (TotalEnergyTypeA ÷ TotalMovesTypeA) × 10 Once it does that equation you could have it automatically round up the total to a whole number. The algorithm would run the equation for each type of energy in the deck simultaneously. But let's say you want to add the total of tag team move bonuses costs, add 1 to the total number of tag team moves of all cards and divide by the total number of bonus costs by the this sum. You get a more realistic requirement of energies when you add 1 to the total number of tag team gx moves. So it'll look like this. ((TotalEnergyTypeA ÷ TotalMovesTypeA) × 10) + ((TotalTagTeamCost) ÷ (TotalTagTeamBonuses + 1) Anyway I hope this helps you get know where to get started with figuring out how to calculate some of the algorithms. I'll keep playing around with the constants and see if I can come up with anything |
For a first pass, I think it'd be best to just use some simple heuristics/rules. Most decks probably have 8-15 energies.
Obviously there are some issues, but this is just supposed to be an estimate. I think if we wanted to get really fancy, it would be good (at some point) to do something statistically. |
That was my thought to just do something simple and have it appear in the UI like a modal/card that suggests the user adds energy to their deck but doesn't force it as well as letting them dismiss the card or turn off the suggestion for individual decks. I would love to do some fancy checks for existing / similar deck profiles and suggest energy amounts based on them, or to even use ML with the existing DeckBox database, but that is probably reaching to high in the sky at this point in time. |
A tool to calculate/approximate the number of energies of potentially multiple types that your in-progress deck would need based on the number and breakdown of pokemon that you have already added?
Algorithm Inputs
Requirements
The text was updated successfully, but these errors were encountered: