Skip to content

peezlepass/Solitaire

Repository files navigation

Welcome to a Solitaire game!

Installation

You actually don't have to install anything! Just visit the deployed version here.

Game Layout

  • Card columns: There are seven columns of cards from left to right. The first column has one card, the second has two, the third has three, and so on, until the seventh column has seven cards. The last card in the column is face up.
  • Deck: The remaining deck is face-down with 3 cards revealed already. When you click on it, the next 3 cards are revealed.
  • Foundation Piles: are empty and are awaiting for you to fill them up in ascending order (starting with Ace).
  • How to Play (I hope you know the rules!)

  • Cards from the deck can be played on the card columns or foundation piles.
  • OnlyAcesCanGoUp

  • You can move cards between columns and build descending sequences of alternating colors. If you are not building a descending sequence correctly - the card will return to its original spot.
  • OnlyAcesCanGoUp

  • Kings (or sequences that start with a King) can be placed on an empty column spot.
  • flags

  • You can also move a sequence of cards if they are all in descending order.
  • flags

  • Green O indicates that there are still cards in the deck
  • flags

  • Red X indicates that there are no cards in the deck
  • flags

  • You can reuse cards from the foundation piles and move them back to the game
  • flags

    Winning

    The game is won when all cards are successfully moved to the foundation piles, with each foundation pile containing all cards of a single suit in ascending order (from Ace to King).

    flags

    Features

    • Style recreation of Microsoft game.
    • Drag & Drop.
    • Fireworks for the winner!
    • Deployment.
    • The Fisher–Yates shuffle.

    Future plans

    I am about to make this game playable on your phone. Just give me a sec...