This solitaire is all about flow. Anything that distracts from your interaction with the flow of the game has been either been tried and removed or not included. Crucially, the games can be played by single-clicking the card you wish to move, and the software figures out where you want the card to go (mostly to the foundation if possible, and if not, the biggest tableau). If you don't like where the card goes, just try clicking it again or drag it.
Also, I'm trying to make games authentic, by taking the rules from reputable sources and implementing them exactly. For example, the tableau shuffling algorithm for Cruel and Perseverance has been chosen carefully, Penguin works as the author intended, Blockade refills empty tableaux from the stock, Baker's Dozen shuffles kings to he bottom of each tableau and Frog/Toad moves aces out of the reserve and only allows cards to be moved to certain places.
Anything that distracts from your interaction with the flow of the game, or the ability to scan a deck of cards, has either been tried and removed, or not included. This includes: fancy card designs (front and back), changing the screen/baize background, animating card flips, keeping an arbitrary score, distracting graphics on the screen, and forcing you to drag the cards to move them.
The user interface tries to stick to the Material Design guidelines, and so is minimal and tactile. I looked at a lot of the other solitaire websites out there, and think how distracting some of them are. Features seem to have been added because the developers thought they were cool; they never seem to have stopped to consider that just because they could implement a feature, that they should.
Your scores and progress in the game is normally saved in the web browser. You can optionally save your game progress to your personal cloud storage, so you can transfer your progress to several different devices and browsers. Currently, saving to Dropbox is implemented (Google Drive support is being worked on).
If you don't already have a Dropbox account, you can create a free one at Dropbox.
The software will create a folder called Apps
in your Dropbox storage area, and a folder called Oddstream Solitaire
within that.
(This software only has access to that folder, and can't see or do anything with the rest of your stuff.)
Within that folder, this software will create a file called gameState.json
that contains your progress in the games you have played.
You are free to make a backup copy of this file.
Start the process by clicking on the cloud icon in the index.html
title bar.
Then click on the 'Get Access Token' button.
In the window that pops up, sign into Dropbox and then grant this software access.
An 'access token' will be returned.
Thereafter, click on the 'Sync' button to save/load your game state between Dropbox and the browser,
or set the sync selector to auto to have this happen automatically when the index.html
page is loaded or unloaded.
You can sever the connection to Dropbox by deleting the displayed access token (doing this won't delete any Dropbox files or folders).
The games only sync from the opening index.html
page, not the individual game pages.
Animation speed different browsers animate at different speeds, and folks differ in how fast they expect the cards to move around. It's fun to set the animation to it's slowest speed and see how many cards you can have animating at the same time.
Highlight movable cards if a card has an available move, then it will appear lighter than one that doesn't. It makes moveable cards easier to see. Whether or not the move is useful is up to you.
Allow single click to move a card instead of having to drag the cards around.
Auto collection to encourage the software to move a card from the tableau to a foundation when it is safe to do so. The cards do not auto collect from any waste or reserve piles; that would make the games too easy.
There is a known bug where a card will not animate to it's destination. If this happens, press 'S' (to save the current game) and then 'L' (to reload it). If you can find a way to reproduce this bug, then please let me know.
Written as a general-purpose solitaire engine, capable of playing any variation, in vanilla ECMAScript 2017 (ES8). The graphics are done in SVG (which would have been easier if there was better SVG support in browsers for z-indexing, drag-drop and events, and more consistent modelling of touch, pointer and mouse events).
Front-end CSS framework by Materialize. Icons and Acme font by Google.
Original games by Jan Wolter, David Parlett, Paul Alfille, Art Cabral, Albert Morehead, Geoffrey Mott-Smith, Zach Gage and Thomas Warfield.
Original Javascript, HTML and CSS Copyright © 2018-2020 Gilbert Oddstream. All rights reserved. In continuous development, so if you fork it, your copy is already out of date.