X-Received: by 10.224.59.205 with SMTP id m13mr6558163qah.7.1370001411178; Fri, 31 May 2013 04:56:51 -0700 (PDT) X-Received: by 10.50.83.100 with SMTP id p4mr358663igy.9.1370001411104; Fri, 31 May 2013 04:56:51 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!ch1no109230qab.0!news-out.google.com!y6ni17qax.0!nntp.google.com!ch1no109229qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Fri, 31 May 2013 04:56:50 -0700 (PDT) In-Reply-To: <4d02f46f-8264-41bf-a254-d1c20469626e@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.62.186.146; posting-account=3tQhVgkAAABQqz1AXdRXEYBxQ6tEkiqs NNTP-Posting-Host: 69.62.186.146 References: <4d02f46f-8264-41bf-a254-d1c20469626e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4286e1af-f97c-4111-ab3d-cdf2e2fa5fa8@googlegroups.com> Subject: Re: Cutting a deck of cards From: Lee Crocker Injection-Date: Fri, 31 May 2013 11:56:51 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.python:46599 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. Cu= tting 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 deale= rs to stack a deck. Simulating it in software makes no more sense than simu= lating the cigars you smoke while playing.