Select two cards whose total value adds up to 13 (9 and 4, Jack and 2, or just King alone) to clear those cards. Press the arrow button to advance through the deck. You can use the visible cards in the deck to help remove the cards in the pyramid. Clearing the pyramid advances the game. When you run out of deals and cards in the deck, the game is over and you can press 'New Game'.
Based on a classic card solitaire game. Code is entirely created by me. The card face graphics come from Wikipedia.