All in a Row (Solitaire)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the solitaire game. For other uses, see Mary, Mary, Quite Contrary.
All in a Row in PySolFC
A Deal of All in a Row Solitaire in PySolFC in midplay

All in a Row is a solitaire card game that is akin to Golf and Tri Peaks, and is very similar to Black Hole. The game's objective is to put the entire deck into the foundation.

The cards are dealt to the tableau in columns of four. The foundation (the "row") can be started from any column, and afterwards it is built with cards incremented or decremented from the previous card by one (where kings and aces wrap).[1]

Only the top cards of each pile in the tableau are available for play.

The game ends if there are no more top cards that can be moved to the Black Hole. The game is won if all of the cards end up in the Black Hole.

Solvers and Solvability Statistics[edit]

The Black Hole Solitaire solver by Shlomi Fish was adapted to solve All in a Row deals, and was subsequently run on the first 1 million PySolFC deals.[2] The solver found that 670,676 out of the million deals were solvable, while the other 329,324 were provably impossible, yielding a winning rate of over two thirds (67%).

The median of possible positions span for the impossible deals was 192.5, which indicates that over half of them, could be determined as such fairly quickly. On the other hand, the media of the positions span for the solved deals was 677,782, which indicates that there are many dead ends in such games.



  1. ^ All in a Row Rules from
  2. ^ Statistics from the First 1,000,000 PySolFC All in A Row Deals
  3. ^ Pretty Good Solitaire List of Games
  4. ^ PySolFC - List of solitaire games

Similar Games[edit]

  • Black Hole - the foundations contain one initial card, and there are 17 cards of 3 columns each.