Solitaire card games/All in a Row

This game is akin to Golf and Tri Peaks. The game's objective is to put the entire deck into the foundation.

All in a Row in PySolFC
screenshot

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.