> Why on Earth would you want to? "Cutting" a deck makes no sense in
> software. Randomize the deck properly (Google "Fisher-Yates") and start
> dealing. Cutting the deck will not make it any more random, and in fact
> will probably make it worse depending on how you choose the cutpoint.
>
> The purpose of "cutting" cards is to make it more difficult for human
> dealers to stack a deck. Simulating it in software makes no more sense than
> simulating the cigars you smoke while playing.
>
>
Perhaps the OP wanted to study the efficiency and affect of a real-world
shuffling algorithm :-p Maybe he was designing a probabilistic magic trick
and
needed to evaluate how a cut would modify the outcome of a particular stack.
Maybe it was a school assignment. Who knows?

(But yeah if the purpose was for pure randomization then there's no real
point.)

There could be a lot of legitimate reasons though.
-Modulok-
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to