This game is the result of our SpriteKit course on http://codecaptain.teachable.com/courses/tripeak-spritekit-game-development-in-swift-2. Join us and learn to create this entire game!
---------------
Tri Peaks (also known as Three Peaks, Tri Towers or Triple Peaks) is a solitaire card game that is akin to the solitaire games Golf and Black Hole. The game uses one deck and the object is to clear three peaks made up of cards.
Gameplay:
The game starts with eighteen cards dealt face-down on the table to form three pyramids. Over these three pyramids are ten face-up cards.
For a card on the table to be moved to the waste pile, it must be a rank higher or lower regardless of suit. This card becomes the new top card and the process is repeated several times (e.g. 7-8-9-10-9-10-J-10-9-8, etc.) until the sequence stops. Along the way, any face-down cards that are no longer overlapping are turned up.