3 ms·
It's fisher-yates with multiple iterations, so should be pretty random
by pkstn 3y ago
It's fisher-yates with multiple iterations, so should be pretty random
- graderjs 3y agoOh, I don't care how random it is. My interest is when is it random. Do you only shuffle the deck when "shuffle" is performed, and then the shuffled order is preserved until: cards are (re-)moved; deck is shuffled again; etc? (I.e "real world" model). Or do you shuffle the remaining hidden deck multiple times (so, not when shuffle is explicitly performed, but on other occasions, for example; at intervals; or, after someone pics the top card; etc)?
- pkstn 3y agoOh, only when pressing shuffle. In the new version in multiplayer mode the order is kept on server-side so that players can't cheat..