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

Add support for deck roll-over when games run out of cards. #27

Open
r0adkll opened this issue May 17, 2020 · 0 comments
Open

Add support for deck roll-over when games run out of cards. #27

r0adkll opened this issue May 17, 2020 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request
Projects

Comments

@r0adkll
Copy link
Contributor

r0adkll commented May 17, 2020

Due to the nature of how the game is set up it draws a set # of cards randomly per game so as not to pull the entire collection for each game. So, by process of this, or by the players not selecting enough card sets when creating the game the pool of cards can run out and leave the game in an unrecoverable state.

So we need to detect this and shuffle "discards" back into the card pool when this happens.

@r0adkll r0adkll added bug Something isn't working enhancement New feature or request labels May 17, 2020
@r0adkll r0adkll self-assigned this May 17, 2020
@r0adkll r0adkll added this to To do in General May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
General
  
Bugs
Development

No branches or pull requests

1 participant