Klondike Solitaire
Working web-based solitaire.
Features:
- Regular dar and drop interface.
- Wheel button click sends card to final stack.
- Undo, limited to 10 steps (to save memory).
It is not visually great, the favicon is the default from React, the buttons are plain and the cards are whatever I managed to pick from the web.
Build and deploy
This app was developped with Create React App. It assumes you have NodeJS installed.
- Download or clone a copy of this repository.
- In the root of the project, run
npm install
to download all the dependencies required and install them. - To build, run
npm run build
. This will create a folder within the project calledbuild
. - Copy the contents of the
build
folder (not thebuild
folder itself) to a new folder in a web server. - Point any browser to the location of that folder. It should inmediately start a new game.
It can also be run in develoment mode by doing:
- Do steps 1 and 2 as above
- Run
npm start
. This will compile and launch the application in development mode using the default browser in your system.