Draw (poker): Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>JaeDyWolf
Reverted 1 edit by 188.142.81.149 (talk): I think you'll have to give an example of a "backdoor open-ender" on the talk page. (TW)
en>Drclaptop
Minor, but factual, update. The poker hand described in the movie Rounders had a second community 9, not queen.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Redirect|Shuffle}}
My name: Imogen Kitamura<br>My age: 21 years old<br>Country: Sweden<br>Home town: Rosson <br>Post code: 880 51<br>Street: Magasinsgatan 6<br><br>my site - [http://www.iartist.cn/?p=5 Window Installatio]
{{Merge from|overhand shuffle|discuss=Talk:shuffling#Merger proposal|date=December 2011}}
 
'''Shuffling''' is a procedure used to [[randomization|randomize]] a deck of [[playing card]]s to provide an element of chance in [[card game]]s. Shuffling is often followed by a [[cut (cards)|cut]], to help ensure that the shuffler has not manipulated the outcome.
 
[[Image:Riffle shuffle.jpg|thumb|right|250px|A [[#Riffle|riffle]] shuffle]]
 
__TOC__
 
==Shuffling techniques==
 
===Riffle===
[[File:Riffle shuffle 1.jpg|thumb|right|250px|After a riffle shuffle, the cards cascade]]
A common shuffling technique is called the ''riffle'' or ''dovetail'' shuffle, in which half of the deck is held in each hand with the thumbs inward, then cards are released by the thumbs so that they fall to the table interleaved. Many also lift the cards up after a riffle, forming what is called a bridge which puts the cards back into place. This can also be done by placing the halves flat on the table with their rear corners touching, then lifting the back edges with the thumbs while pushing the halves together. While this method is more difficult, it is often used in [[casino]]s because it minimizes the risk of exposing cards during the shuffle. There are two types of perfect riffle shuffles: if the top card moves to be second from the top then it is an [[in shuffle]], otherwise it is known as an [[out shuffle]] (which preserves both the top and bottom cards).
 
Riffle shuffling does, however, carry a risk of damaging cards from excessive bending. Casinos replace their [[playing cards]] often to prevent players from gaining an advantage by detecting deformations in the cards. However, [[collectible card game]] cards are considerably less replaceable than playing cards, and CCG cards can be damaged from riffle shuffling, even when protected with [[card sleeves]].{{Citation needed|date=March 2012}}
 
The [[Gilbert–Shannon–Reeds model]] provides a mathematical model of the random outcomes of riffling, that has been shown experimentally to be a good fit to human shuffling<ref>{{citation
| last = Diaconis | first = Persi | authorlink = Persi Diaconis
| isbn = 0-940600-14-5
| location = Hayward, CA
| mr = 964069
| publisher = Institute of Mathematical Statistics
| series = Institute of Mathematical Statistics Lecture Notes—Monograph Series, 11
| title = Group representations in probability and statistics
| year = 1988}}.</ref> and that forms the basis for a recommendation that card decks be riffled seven times in order to thoroughly randomize them.<ref>{{citation|title=In Shuffling Cards, 7 Is Winning Number|first=Gina|last=Kolata|authorlink=Gina Kolata|journal=[[New York Times]]|url=http://www.nytimes.com/1990/01/09/science/in-shuffling-cards-7-is-winning-number.html|date=January 9, 1990}}.</ref>
 
===Stripping or overhand===
Another procedure is called ''stripping'', overhand, or slide shuffle, where small groups of cards are removed from the top of a deck and placed in the opposite hand (or just assembled on the table) in reverse order.
 
===Indian shuffle===
Also known as "Kattar" or "Kenchi" or "Kutti Shuffle" (Hindi for scissor). The deck is held face down, with the middle finger on one long edge and the thumb on the other on the bottom half of the deck. The other hand draws off a packet from the top of the deck. This packet is allowed to drop into the palm. The maneuver is repeated over and over, with newly drawn packets dropping onto previous ones, until the deck is all in the second hand. Indian shuffle differs from stripping in that all the action is in the hand ''taking'' the cards, whereas in stripping, the action is performed by the hand with the original deck, ''giving'' the cards to the resulting pile. This is the most common shuffling technique in Asia and other parts of the world, while the overhand shuffle is primarily used in Western countries.
 
===Pile shuffle===
Cards are simply dealt out into a number of piles, then the piles are stacked on top of each other. This ensures that cards that were next to each other are now separated. The pile shuffle does not provide any randomization of the cards, since for any number of piles the right number of repetitions will bring the deck back to its original state, though this can be improved slightly by dealing to the piles in a random order each circuit. It is sometimes used in [[collectible card games]] where other forms of shuffling might damage rare cards.
 
===Corgi, Chemmy, Irish or Wash shuffle===
Also known as the scramble, beginner shuffle, or washing the cards, this involves simply spreading the cards out face down, and sliding them around and over each other with one's hands. Then the cards are moved into one pile so that they begin to intertwine and are then arranged back into a stack. This method is useful for beginners and small children or if one is inept at shuffling cards. However, the beginner shuffle requires a large surface for spreading out the cards and takes longer than the other methods.
 
===Mongean shuffle===
The Mongean shuffle, or Monge's shuffle, is performed as follows (by a right-handed person): Start with the unshuffled deck in the left hand and transfer the top card to the right. Then repeatedly take the top card from the left hand and transfer it to the right, putting the second card at the top of the new deck, the third at the bottom, the fourth at the top, the fifth at the bottom, etc. The result, if one started with cards numbered consecutively <math>\scriptstyle 1, 2, 3, 4, 5, 6, \dots, 2n</math>, would be a deck with the cards in the following order: <math>\scriptstyle 2n, 2n-2, 2n-4, \dots, 4, 2, 1, 3, \dots, 2n-3, 2n-1</math>.
 
For a deck of given size, the number of Mongean shuffles that it takes to return a deck to starting position, is known {{OEIS|id=A019567}}.  Twelve perfect Mongean shuffles restore a 52-card deck.
 
===Weave and Faro shuffles===
''Weaving'' is the procedure of pushing the ends of two halves of a deck against each other in such a way that they naturally intertwine.  Sometimes the deck is split into equal halves of 26 cards which are then pushed together in a certain way so as to make them perfectly interweave. This is known as a ''Faro Shuffle''.
 
The [[faro shuffle]] is performed by cutting the deck into two, preferably equal, packs in both hands as follows (right-handed):
The cards are held from above in the right and from below in the left hand. Separation of the deck is done simply lifting up half the cards with the right hand thumb slightly and pushing the left hand's packet forward away from the right hand. The two packets are often crossed and slammed into each other as to align them. They are then pushed together by the short sides and bent (either up or down). The cards then alternately fall into each other, much like a [[zipper]]. A flourish can be added by springing the packets together by applying pressure and bending them from above.  The faro is a controlled shuffle which does not randomize a deck when performed properly.
 
A perfect faro shuffle, where the cards are perfectly alternated, is considered one of the most difficult sleights by card magicians, simply because it requires the shuffler to be able to cut the deck into two equal packets and apply just the right amount of pressure when pushing the cards into each other. Performing eight perfect faro shuffles in a row restores the order of the deck to the original order only if there are 52 cards in the deck and if the original top and bottom cards remain in their positions (1st and 52nd) during the eight shuffles. If the top and bottom cards are weaved in during each shuffle, it takes 52 shuffles to return the deck back into original order (or 26 shuffles to reverse the order).
 
===Mexican spiral shuffle===
The [[Mexican spiral shuffle]] is performed by cyclic actions of moving the top card onto the table, then the new top card under the deck, the next onto the table, next under the deck, and so on until the last card is dealt onto the table.  It takes quite long time, compared with riffle or overhand shuffles, but allows other  players to fully control cards which are on the table. The Mexican spiral shuffle was popular at the end of the 19th century in some areas of Mexico as a protection from gamblers and conman arriving from the USA.
 
==Shuffling machines==
{{Main|Shuffling machine}}
Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" where employees collaborate with gamblers by performing inadequate shuffles, many [[casino]]s employ automatic [[shuffling machine]]s. They also save time that would otherwise be spent shuffling, allowing several more hands per hour to be played and increasing the profitability of the table. These machines are also used to lessen repetitive motion stress injuries to a dealer. Note that the shuffling machines have to be carefully designed, as they can generate biased shuffles otherwise: the most recent shuffling machines are computer-controlled, though they have not yet fully been integrated into gaming.
 
==Randomization==
There are exactly 52 [[factorial]] (expressed in shorthand as 52[[factorial|!]]) possible orderings of the cards in a [[52-card deck]]. This is approximately 8{{e|67}} possible orderings or specifically 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000. The [[Orders of magnitude (numbers)#1042 to 10100|magnitude of this number]] means that it is exceedingly improbable that two randomly selected, truly randomized decks, will ever, even in the history of the Universe, be the same.  However, while the exact sequence of all cards in a randomized deck is unpredictable, it may be possible to make some probabilistic predictions about a deck that is not sufficiently randomized.
 
===Sufficient number of shuffles===
The number of shuffles which are sufficient for a "good" level of randomness is a fundamental question, and the answer depends on the type of shuffle and the measure of "good enough randomness", which in turn depends on the game in question. Broadly, for most games, four to seven good riffle shuffles (GRS) are both necessary and sufficient: for unsuited games such as blackjack, four GRSs are sufficient, while for suited games with strict conditions on randomness, seven GRSs are necessary. There are some games, however, for which even seven GRSs are insufficient.<ref name="vzs2004">{{Harv|Van Zuylen|Schalekamp|2004}}</ref>
 
In practice the number of shuffles required depends both on the quality of the shuffle and how significant non-randomness is, particularly how good the people playing are at noticing and using non-randomness. Two to four shuffles is good enough for casual play. But in club play, good [[bridge (cards)|bridge]] players take advantage of non-randomness after four shuffles,<ref name="kolata" /> and top [[blackjack]] players supposedly track aces through the deck; this is known as "ace tracking", or more generally, as "[[shuffle tracking]]".{{Citation needed|date=February 2007}}
 
===Research===
Following early research at [[Bell Labs]], which was abandoned in 1955, the question of how many shuffles was required remained open until 1990, when it was convincingly solved as ''seven shuffles,'' as elaborated below.<ref name="kolata" /> Some results preceded this, and refinements have continued since.
 
A leading figure in the mathematics of shuffling is [[mathematician]] and [[stage magic|magician]] [[Persi Diaconis]], who began studying the question around 1970,<ref name="kolata" /><!-- 20 years before 1990 is 1970 --> and has authored many papers in the 1980s, 1990s, and 2000s on the subject with numerous co-authors. Most famous is {{Harv|Bayer|Diaconis|1992}}, co-authored with mathematician [[Dave Bayer]], which analyzed the [[Gilbert–Shannon–Reeds model]] of random riffle shuffling and concluded that the deck did not start to become random until five good riffle shuffles, and was truly random after seven, in the precise sense of variation distance described in [[Markov chain mixing time]]; of course, you would need more shuffles if your shuffling technique is poor.<ref name="kolata">{{Cite web
| title = In Shuffling Cards, 7 Is Winning Number
| first = Gina
| last = Kolata
| date = January 9, 1990
| work = New York Times
| accessdate = 2012-11-14
| url = http://www.nytimes.com/1990/01/09/science/in-shuffling-cards-7-is-winning-number.html
}}</ref> Recently, the work of Trefethen et al. has questioned some of Diaconis' results, concluding that six shuffles are enough.<ref>{{Harv|Trefethen|Trefethen|2000}}</ref> The difference hinges on how each measured the randomness of the deck. Diaconis used a very sensitive test of randomness, and therefore needed to shuffle more. Even more sensitive measures exist and the question of what measure is best for specific card games is still open. {{Citation needed|date=February 2007}} Diaconis released a response indicating that you only need four shuffles for un-suited games such as [[blackjack]].<ref name=science_news>{{cite web
| url = http://www.sciencenews.org/view/generic/id/38434/title/Shuffling_the_cards_Math_does_the_trick
| title = Shuffling the cards: Math does the trick
| date = November 7, 2008
| accessdate = 14 November 2008
| publisher = Science News
| quote = Diaconis and his colleagues are issuing an update. When dealing many gambling games, like blackjack, about four shuffles are enough.
}}</ref><ref name=persi_at_stanford>{{cite web
| url = http://www-stat.stanford.edu/~cgates/PERSI/papers/redblack.pdf
| title = A Rule of Thumb for Riffle Shuffling
| accessdate = 14 November 2008
| last = Assaf
| first = Sami
| coauthors = Persi Diaconis, and K. Soundararajan
| publisher = t.b.a.
| format = PDF
}}</ref>
 
On the other hand variation distance may be too forgiving a measure and seven riffle shuffles may be many too few. For example, seven shuffles of a new deck leaves an 81% probability of winning [[New Age Solitaire]] where the probability is 50% with a uniform random deck.<ref name="vzs2004" /><ref>{{Harv|Mann|1994|loc=section 10}}</ref> One sensitive test for randomness uses a standard deck without the [[joker (playing card)|joker]]s divided into suits with two suits in ascending order from ace to king, and the other two suits in reverse. (Many decks already come ordered this way when new.) After shuffling, the measure of randomness is the number of rising sequences that are left in each suit.<ref name="vzs2004" />
 
==Shuffling algorithms==
{{Main|Fisher–Yates shuffle}}
 
A computer is capable of generating a "perfect shuffle", a [[random permutation]] of the cards; beware that this terminology (an algorithm that perfectly randomizes the deck) differs from "a perfectly executed single shuffle", notably a perfectly interleaving [[faro shuffle]]. The [[Fisher–Yates shuffle]], popularized by [[Donald Knuth]], is simple (a few lines of code) and efficient ([[big O notation|O]](''n'') on an ''n''-card deck, assuming constant time for fundamental steps) algorithm for doing this. Shuffling can be seen as the opposite of [[sorting algorithm|sorting]].
 
There are other, less-desirable algorithms in common use. For example, one can assign a random number to each card, and then sort the cards in order of their random numbers. This will generate a random permutation, unless any of the random numbers generated are the same as any others (i.e. pairs, triplets etc.). This can be eliminated either by adjusting one of the pair's values randomly up or down by a small amount, or reduced to an arbitrarily low probability by choosing a sufficiently wide range of random number choices. If using efficient sorting such as [[mergesort]] or [[heapsort]] this is an [[big O notation|O]](''n'' log ''n'') average and worst-case algorithm.
 
===In online gaming===
These issues are of considerable commercial importance in [[online gambling]], where the randomness of the shuffling of packs of simulated cards for online card games is crucial. For this reason, many online gambling sites provide descriptions of their shuffling algorithms and the sources of randomness used to drive these algorithms, with some gambling sites also providing auditors' reports of the performance of their systems.
 
==See also==
*[[Card manipulation]]
*[[Mental poker]]
*[[Overhand shuffle]]
*[[Solitaire (cipher)]]
 
==References==
{{refbegin}}
* {{cite jstor|2323590}}
* {{cite doi|10.1214/aoap/1177005705}}
* {{citation | last=Diaconis | first=Persi | author-link=Persi Diaconis | title=Group Representations in Probability and Statistics (Lecture Notes Vol 11) | year=1988 | publisher=[[Institute of Mathematical Statistics]] | pages=77–84 | isbn=978-0-940600-14-0}}
* {{citation | last=Diaconis | first=Persi | author-link=Persi Diaconis | title=Mathematical Developments from the Analysis of Riffle Shuffling, Technical Report 2002-16 | year = 2002 | publisher=[[Stanford University]] Department of Statistics | url = http://statistics.stanford.edu/~ckirby/techreports/GEN/2002/2002-16.pdf | work = [http://statistics.stanford.edu/~ckirby/reports/2000_2009/reports2002.html Technical Reports 2002] }}
*{{cite doi|10.1016/0196-8858(83)90009-X}}
*{{citation | last1 = Mann | first1 = Brad
| year = 1993?
| title = How many times should you shuffle a deck of cards?
| journal = UMAP Journal (Undergraduate Mathematics and Its Applications)
| publisher = [http://www.comap.com/ COMAP] (Consortium for Mathematics and Its Applications)
| volume = 15
| year = 1994
| number = 4
| month = Winter
| pages = 303–332
| url = http://www.comap.com/product/?idx=1200
| postscript = mirrored at [http://www.dartmouth.edu/~chance/index.html Dartmouth College Chance Project]: [http://www.dartmouth.edu/~chance/teaching_aids/teaching_aids.html Teaching Aids]: [http://www.dartmouth.edu/~chance/teaching_aids/articles.html Articles], "[http://www.dartmouth.edu/~chance/teaching_aids/books_articles/Mann.pdf How many times do you have to shuffle a deck of cards?]"}}
* {{cite doi|10.1098/rspa.2000.0625}}
* {{cite doi|10.1017/S0269964804183034}}
{{refend}}
 
===Footnotes===
{{Reflist}}
 
==External links==
{{commons category|Shuffling playing cards}}
Physical card shuffling:
*[http://www.pokerology.com/articles/howtoshuffle.htm Illustrated guide to several shuffling methods]
*[http://www.stackview.com Magicians tool with lots of shuffling simulation]
Mathematics of shuffling:
*[http://crystalpoker.net/securityreview.php Real World Shuffling In Practice]
*[http://mathworld.wolfram.com/Shuffle.html Shuffle - MathWorld - Wolfram Research]
*Ivars Peterson's MathTrek: [http://www.maa.org/mathland/mathtrek_11_18_02.html Card Shuffling Shenanigans]
 
Real World (Historical) Application:
*[http://www.cigital.com/papers/download/developer_gambling.php How We Learned to Cheat at Online Poker: A Study in Software Security]
 
{{Cardgames}}
 
[[Category:Card game terminology]]
[[Category:Card shuffling]]

Latest revision as of 05:47, 10 December 2014

My name: Imogen Kitamura
My age: 21 years old
Country: Sweden
Home town: Rosson
Post code: 880 51
Street: Magasinsgatan 6

my site - Window Installatio