Patience Sorting - The Card Game

The Card Game

The game begins with a shuffled deck of cards, labeled .

The cards are dealt one by one into a sequence of piles on the table, according to the following rules.

  1. Initially, there are no piles. The first card dealt forms a new pile consisting of the single card.
  2. Each new card may be placed either on an existing pile whose top card has a value higher than the new card's value, thus increasing the number of cards in that pile, or to the right of all of the existing piles, thus forming a new pile.
  3. When there are no more cards remaining to deal, the game ends.

The object of the game is to finish with as few piles as possible. D. Aldous and P. Diaconis suggest defining 9 or fewer piles as a winning outcome for, which has approximately 5% chance to happen.

Read more about this topic:  Patience Sorting

Famous quotes containing the words card and/or game:

    I must save this government if possible. What I cannot do, of course I will not do; but it may as well be understood, once for all, that I shall not surrender this game leaving any available card unplayed.
    Abraham Lincoln (1809–1865)

    Art is a concrete and personal and rather childish thing after all—no matter what people do to graft it into science and make it sociological and psychological; it is no good at all unless it is let alone to be itself—a game of make-believe, or re-production, very exciting and delightful to people who have an ear for it or an eye for it.
    Willa Cather (1873–1947)