Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

Infinite Deck Implementation

Infinite decks as they are implemented now seem a little silly, or at least not that useful. Let's say I have an example deck with only four cards in it: Red, Green, Blue, and Yellow. If my deck were set to be infinite, one would expect that there would be an infinite number of each card in the deck, so that every time I draw a card, I have a 25% chance to draw any particular color. No matter how many cards I draw, each time it would be totally random and a 25% chance for any color. This is not how it works at the moment. What Roll20 does with an infinite deck is take the deck as it is currently shuffled, makes an infinite number of copies of the deck as a whole, and stacks them on top of each other. Here's an example of what I mean: If I draw my first card, I have a 25% chance of any given color (as it should be). If my first card ends up being Blue (let's say), on my second draw, I now have a 0% chance of drawing blue and a 33% chance of drawing the other three. If the second card is Yellow, on my third draw I now have 0% for Blue and Yellow, and 50% for Red and Green. When the third draw is Red, I'm now guaranteed that the final draw will be Green. I will have drawn four cards in this order: Blue, Yellow, Red, Green. So far it behaves just like a NON-infinite deck. Now, the next four cards I draw will be EXACTLY THE SAME, in that same order. The next four after that will be the same also, ad infinitum. That's how the deck is "infinite". I can't imagine any but the most unusual and specific scenario in which this is how an infinite deck should work. Would it be possible to alter the implementation so that an infinite deck behaves the way one would expect, such that every draw is totally random, and the infinite nature of the deck extends to each individual card? Then if you wanted to alter the odds of drawing one card over another, you'd simply put additional copies of that card in the deck. Thanks for considering! -Kong
1371598796
Gauss
Forum Champion
Kong Ming, this may rise to the level of a bug, I will take a look at this.  - Gauss
Many thanks!
This is truly just a suggestion but on a similar theme, it would be really handy if after each type of card in a deck, there were a field to indicate the number of cards of that type, rather than having to create redundant copies. Thanks for the great site! -Kong
1371666141
Gauss
Forum Champion
I have checked with the Devs and the current implementation of infinite decks is working correctly. It was intended as a way to reproduce the same of a single card infinitely.  I suggest using Tables (a supporter feature) instead.  - Gauss
Hmm. I suppose it works for that, but my implementation would work for that purpose in exactly the same way. Ah well. Thanks for checking on it!
1371771031
Gauss
Forum Champion
NP :) - Gauss