Patience (solitaire) Cards portal

All in a Row - Solitaire

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).

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

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. 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.