A beautiful, smooth Solitaire game built using Flutter and the Flame game engine. Designed to be fun, fast, and surprisingly satisfying.
- Classic Solitaire gameplay (a.k.a Klondike)
- Smooth card animations
- Custom draw modes (1-card / 3-card)
- Foundation, stock, waste, and tableau pile logic
- Touch & drag card interaction
- Restart with new or same deal
- Built using Flame's component system
- Mobile-optimized layout
🌐 Play Online Netlify URL: [https://solitairee.netlify.app/]
- Flutter – for cross-platform UI
- Flame – for game loop & rendering
- Dart – for logic and structure
| Action | Input |
|---|---|
| Move cards | Drag & drop |
| Draw new cards | Tap stock pile |
| Flip top cards | Automatic after move |
| Restart game | Tap one of the top buttons |
- Victory celebration 🎉
- Card sound effects
- Custom themes (dark mode, retro, etc.)
- Undo button
- Timer & score system
Cards are dynamically generated and shuffled using a consistent seed when needed. Button interactions are built using Flame’s AdvancedButtonComponent with custom skins.
You can find all the core logic in:
solitaire_world.dartcomponents/card.dartcomponents/foundation_pile.dartcomponents/stock_pile.dartcomponents/waste_pile.dartcomponents/tableau_pile.dart
Make sure you have Flutter installed.
git clone https://github.com/gracemakai/solitaire.git
cd solitaire
flutter pub get
flutter run