https://joe-gerhard.github.io/Solitaire/
- Make a deck of cards
- Shuffle it
- Deal the cards to the board
- Render the game board
- If a player clicks a card store it as a ‘clicked card’
- If there is a ‘clicked card’, play that card in the next clicked location (as long as it’s a legal play)
- If all of the ace piles are full and in order, the player has won the game
Make a vanilla JS Solitaire game
JS, CSS, and HTML
- As a user, I should be able to click on a card and then click on a destination to move it
- As a user, I should be able to click the draw pile to flip over the top card.
- As a user, I should be able to click the reset button to start a new game.
- As a user, I should know what my score is at any point of the game
- As a user, I should be able to double click on a card to play it directly to a legal ace pile.
- As a user, I should be able to know when I've won the game.
- Playable solitaire game
- Time played counter
- Score Calculator
- New Game button
- add difficulty option--draw 3 cards at a time instead of 1
- add drag and drop functionality
- highlight all possible moves when card is highlighted
- make winning more exciting
- add functionality to 'replay' the exact same game/deal from the start
- add an 'instructions' section
- add an 'undo' button