Skip to content

lklynet/spider-solitaire

Repository files navigation

Spider Solitaire

Spider Solitaire

A modern, open-source Spider Solitaire app focused on local practice play.

Spider Solitaire gameplay screenshot

Features

  • Classic Gameplay: Authentic Spider Solitaire rules and mechanics.
  • Single Local Mode:
    • random 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

Getting Started

Prerequisites

  • Node.js (Latest LTS version recommended)
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/lklynet/spider-solitaire.git
    cd spider-solitaire
  2. Install dependencies:

    npm install
  3. Start the frontend:

    npm run dev
  4. Open your browser and navigate to http://localhost:5173.

Dev Commands

npm run dev
npm run build
npm run preview

Docker Deployment

Run the local-only app as a single containerized web service:

docker compose pull
docker compose up

Then open http://localhost:8080.

Building for Production

To create an optimized production build:

npm run build

The build artifacts will be stored in the dist/ directory.

License

This project is available under the MIT License.

About

I'm obsessed with spider solitaire and needed a more responsive version that doesnt have bloat or ask for money. Feel free to fork or use my hosted version listed below.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages