/solitaire

Solitaire in React

Primary LanguageCoffeeScript

Solitaire

A collection of solitaire games written in CoffeeScript and React.

Tips

  • The menu to do all kinds of things is the black menu button in the top right.
    • Use the Rule Help button after starting a game you've never played to learn how to play.
    • There is a Toggle Fullscreen button in there (if the browser supports it).
    • It even has unlimited Undo in there!
  • The Hard Mode switch is for the next game only, and does not change the difficulty of the current game on the fly.
    • You can always see the current game/difficulty in the bottom right.
  • Spiderette and Golf on Easy mode tends to be the easiest games to play/win, whereas Klondike and Spider (especially on Hard Mode!) are quite hard.

Build Distribution

  • Clone the repo
  • npm install
  • npm run build
  • Serve the dist/ directory with your favorite static web server

Develop

  • Clone the repo
  • npm install
  • npm run serve
  • Visit http://localhost:8080/
  • Go crazy editing src/ to pick up changes and auto-reload the game

Playing on Android

  • Open in Chrome
  • Choose Add to Home screen, find a spot for it on your home screen
  • Run it from there

Playing on iOS

  • Open in Safari (not Chrome!)
  • Choose Add to Home screen in the Share menu
  • Open the app from the home screen

Playing in a browser on a PC/Mac

  • Uhh, just play it.
  • No seriously.
  • Fullscreen mode is nice.