A classic Klondike solitaire card game built with vanilla JavaScript, HTML, and CSS. Features beautiful pixel art fantasy playing cards.
Open index.html in a web browser, or serve the files with any HTTP server:
python -m http.server 8080Then visit http://localhost:8080
- Drag and drop - Move cards between tableau piles and to foundations
- Double-click - Automatically move cards to foundations when valid
- Auto-complete - When all cards are face-up and stock is empty, cards automatically fly to foundations
- Hints toggle - Enable hints to highlight valid drop targets while dragging
- Move counter - Track your progress
- Responsive design - Works on various screen sizes
- Goal: Move all 52 cards to the four foundation piles, sorted by suit from Ace to King
- Tableau: Build down in alternating colors (red on black, black on red)
- Foundation: Build up by suit (Ace, 2, 3... Queen, King)
- Empty columns: Only Kings can be placed on empty tableau columns
- Stock: Click to draw cards to the waste pile
This game uses the Pixel Fantasy Cards asset pack by CazWolf.
MIT License - see LICENSE file for details.