A modern, open-source Spider Solitaire app focused on local practice play.
- Classic Gameplay: Authentic Spider Solitaire rules and mechanics.
- Single Local Mode:
- random practice boards with persistent local stats
- Smart Features:
- undo system
- smart hints
- automatic run detection
- Customization:
- multiple color themes
- customizable card backs
- Persistence:
- local game state and stats in the browser
- Frontend: React 19
- Build Tool: Vite
- Language: TypeScript
- Styling: Tailwind CSS
- State Management: Zustand
- Icons: Lucide React
- Utilities: date-fns, clsx
- Node.js (Latest LTS version recommended)
- npm
-
Clone the repository:
git clone https://github.com/yourusername/spider-solitaire.git cd spider-solitaire -
Install dependencies:
npm install
-
Start the frontend:
npm run dev
-
Open your browser and navigate to
http://localhost:5173.
npm run dev
npm run build
npm run previewRun the local-only app as a single containerized web service:
docker compose up --buildThen open http://localhost:8080.
To create an optimized production build:
npm run buildThe build artifacts will be stored in the dist/ directory.
This project is open source software. We believe in the power of community and transparent development.
- Learn: Explore the source code to see how a modern React game is architected.
- Contribute: Bug reports, feature requests, and pull requests are welcome!
- Modify: Feel free to fork the repository and customize the game to your liking.
This project is available under the MIT License.