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

Pre-calculate card weights after trump suit has been chosen #26

Open
boldandbrad opened this issue Jul 28, 2020 · 0 comments
Open

Pre-calculate card weights after trump suit has been chosen #26

boldandbrad opened this issue Jul 28, 2020 · 0 comments
Labels
technical Code refactor and performance enhancements wontdo This will not be worked on
Milestone

Comments

@boldandbrad
Copy link
Owner

Instead of calculating a card weight every time a comparison needs to be made, calculate them up front when trump is selected. Since a new deck of cards is used for each hand, there is no need to reset card weights.

@boldandbrad boldandbrad added the technical Code refactor and performance enhancements label Jul 28, 2020
@boldandbrad boldandbrad added this to the 1.x milestone Jul 29, 2020
@boldandbrad boldandbrad self-assigned this Aug 4, 2020
@boldandbrad boldandbrad added the wontdo This will not be worked on label Aug 12, 2020
@boldandbrad boldandbrad removed their assignment Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical Code refactor and performance enhancements wontdo This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant