The goal of the Accordion Solitaire game is to discard the unfolded deck until one card is left. In the original layout, 52 cards are laid out in one line. Put one card on top of another, forming piles. Any card can be put on top of the card lying to the left of it at 1, 2 or 3 positions if it matches in suit or value. The order of movement at the beginning, middle or end of the row does not matter. Empty cells are automatically shifted to the left. The game ends with a folded deck.