Game Controls
According to the rules of the game, you can only move cards by rank and suit color. Those. A red card can only be placed on a black one and vice versa. In this case, you still need to respect the rank of the card, for example, a queen can only be placed on a king, and a jack on a queen.
There are also 4 empty cells on the left to help. You can temporarily move cards in them that prevent you from getting the right card. In this case, the number of free cells affects the number of cards that can be moved at a time in a stack. If all cells are free, then you can move 4+1 cards from column to column, if only 2 cells are free, then you can move 2+1 cards at a time.