Is Collections.shuffle suitable for a poker algorithm?
- by Kovu
Hi,
there is a poker-system in java, that uses Collections.shuffle() on all available cards before the cards are dealt.
So a collection of 52 cards 2-9, J, Q, K, A in 4 types.
After that we Collections.shuffle().
The problem is, that it seems (until now we didn't have big statistic, it's possible that we only see a lot of statistic inferences), that the algorithm is VERY unclearly.
So, is Collections.shuffle() okay for a poker algorithm?