Rules of Klondike Solitaire

A standard deck of 52 playing cards is shuffled. Cards are dealt onto the 'tableaux', an arrangement of seven columns on the bottom half of the playing area. In each tableau an increasing number of cards is placed from one to seven. All but the bottom card are dealt face down. The bottom card is dealt face up.

The remaining cards are placed face down in the top left of the playing area. This is the 'stock'.

At any time the player can deal (depending on settings) one or three cards (facing them up) from the stock to a 'waste' pile to the right of the stock. If there are just one or two cards remaining in the stock all the remaining cards can be dealt to the stock. If there are no cards in the stock the player can take all the waste cards and return them, face down, to the stock area.

The objective of the game is to move all of the cards to the 'foundations', four slots for cards on the top right of the playing area. The player may move any ace card from the top of the waste or the bottom of any of the tableau columns onto any empty foundation slot. When a foundation slot is occupied, the player may move any single card (from the top of the waste or bottom of the tableau) onto a foundation, provided it is the same suit and one higher in value than the top occupying card.

The player may also move certain cards onto the tableaux. The criteria is that the moved card must be of opposite color suit and exactly one fewer value of the bottom card of the tableau column moved onto. The cards that can be moved are any single card that meets the criteria from the waste or top of a foundation; or any single card or group of cards taken from the bottom of a tableau where the top card of the group meets the criteria.

Credits / Licenses

Offline Solitaire by Jim Blackler. Contact: jimblackler@gmail.com

Original parts of the program are Free Software offered with a GPL license. (c) Jim Blackler 2011

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Original visual elements are offered with a GPL license. Creative Commons Attribution 3.0 Unported (CC BY 3.0)

Since the 2019 edition, playing cards are modified from a design by Rev K. Licensed under CC0 Public Domain

Playing card backs are based on a design by David Bellot. Licensed under LGPL. http://commons.wikimedia.org/wiki/File:Card_back_01.svg

This library is free software; you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version. This library is distributed in the hope that it
will be useful, but without any warranty; without even the implied warranty of merchantability or
fitness for a particular purpose. See version 2.1 and version 3 of the GNU Lesser General Public
License for more details.

Random number generator 'Alea' by Johannes Baagøe used under MIT Expat license.http://baagoe.com/en/RandomMusings/javascript

Copyright (C) 2010 by Johannes Baagøe baagoe@baagoe.org

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.