TriPeaks Solitaire in Java is a card game in which you remove cards that are adjacent (by value) to the current card. Once you deal, you'll get a randomized board - 28 cards "in play", 23 cards in the deck, and 1 card in the discard pile. o move cards to the discard pile, they need to be "adjacent" in value to the current card in the discard pile. If there is no card that can be removed, a card can be taken from the deck and put into the discard pile. When a card has no cards covering it, it's flipped.