Re:I analyzed shuffling in a million games of MtG Arena
by senkora on Sunday January 15, 2023 @07:56AM
(#34389047)
Ah, I see what you mean. I assumed the first algorithm was what they meant; I have no comment on the second algorithm.
Re:I analyzed shuffling in a million games of MtG Arena
by mananaysiempre on Sunday January 15, 2023 @07:59AM
(#34389065)
Your first one is one of the versions of the standard Fisher–Yates shuffle, so it does work :)
This proves that
works as a shuffle, by growing a random sub-array.*The first algorithm was
which has different biases.* I am not actually sure that this actually works.