helene_t, on 2014-December-23, 08:33, said:
I don't understand this - are you saying that the dealing program simulates a permutation and applies that permutation to the previous shuffle? Seems odd to me. I would expect it to apply the permuation to an ordered deck, i.o.w. the shuffle depends on the seed and not (explicitly) on the previous deal.
Of course this doesn't matter, it is just a question of what is simpler to implement.
Of course this doesn't matter, it is just a question of what is simpler to implement.
The implementation stars with a ordered pack.
Next it reorders it with single shuffle iterating all cards.
From that pack order it generates the hand presentation for analyse step.
For next deal it takes the shuffled pack from previous deal and does same suhffling step the first board.
This makes the pack order weakly part of rng state. That may make rng plus pack state period a lot longer than what rng period would be alone. Of course there is chance that period start to repeat with some low multiplier to rng period but it is fairly unlikely.