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

Improved card draw simulator #127

Open
frontierpsycho opened this issue Jun 2, 2024 · 0 comments
Open

Improved card draw simulator #127

frontierpsycho opened this issue Jun 2, 2024 · 0 comments

Comments

@frontierpsycho
Copy link

Aside from the features of the card draw simulator in NRDBv1, it would be great if the one in v2 had the following features:

  • Discard random card from hand. This would be a button in the same place as the draw buttons, and it would randomly choose a card among those in hand and discard it (it gray it out).
  • Shuffle cards back into deck. This would be trickier to implement, as it would involve selecting some cards that have already been drawn and/or discarded, and shuffling them back into the undrawn cards. Since in v1, clicking any card would simply toggle it (which was a really useful feature), either that would have to change (eg. clicking cards would select them, and a second click on an action button would be required to know what to do with the selected cards - this would be more cumbersome than the current design in most cases), or another solution would need to be found. One suggestion would be to have a "shuffle cards back in" button, which would activate a mode where cards clicked would be shuffled in, leaving the clicking behaviour when that button is not clicked, intact.

Both these features would help simulate how a deck behaves a bit more fully. The current, v1 design helps test out the opening hand & mulligan perfectly, but I've gotten into the habit (and it might be useful for others too), to simulate a few more turns to see how a deck plays out without going into a game.

For example, when testing an Esa deck, in one's opening hand there might be a card causing core damage. To properly simulate the effect one would have to randomly choose a card in some external way, eg. a random number generator and then apply the discard manually. Or, to simulate using the ability of Gachapon, the player would need to shuffle some cards back into the deck, which is currently impossible.

Some inspiration for this can be drawn from the ArkhamDB draw deck selector, that has a "redraw selected" and a "reshuffle selected" button (although it treats clicked/grayed out cards as selected, which wouldn't work for the above scenario, where grayed out cards are considered discarded).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants