Classic Klondike Solitaire built with Phaser 3 and TypeScript. Optimized for Desktop.
Live Game Demo: https://webguy83.github.io/solitaire/
- Drag & drop gameplay - Move cards between tableau, foundation, and discard piles
- Card back customization - Choose from 4 different card back designs (persists across sessions)
- Timer & move counter - Track your progress
- Win animation - Cascading card celebration when you complete the game
- Auto-fit scaling - Adapts to different screen sizes
- Clean UI - Minimalist design with clear visual feedback
- Phaser 3.90.0 - Game framework
- TypeScript 5.7.2 - Type-safe code
- Vite 6.3.1 - Fast dev server & build tool
npm install
npm run devOpen http://localhost:8080 to play.
npm run buildOutput will be in the dist folder.
src/
game/
scenes/ # Boot, Preload, Title, Game, WinPopup
lib/ # Card, Deck, Solitaire logic
public/
assets/ # Card sprites and images
MIT
To deploy your game, upload the entire contents of the dist folder to a web server.
This project is licensed under the MIT License - see the LICENSE file for details.
