Solvitaire is a Windows application for playing and solving the card game called solitaire (or sometimes patience).
It gives you the choice of
Solvitaire can read Microsoft Solitaire Collection games from the screen and use the keyboard and mouse to play through them for you. This means that, as well as clearing boards, it can also find the best solution for removing cards or stacks or achieving a certain score within a certain number of moves. It does this by reading the cards from the screen and playing through the game to expose unknown cards and then running through solutions to achieve the objective.
You no longer need to be stuck on one of the Daily Challenges, Events or Star Club challenges.
Solvitaire can also save the solutions to a file and then play these solutions back quickly. This is how the solitaire bots get into the top 100 leaderboard. You will occasionally see SolvitaireBot at the top of the board, if we happen to be running speed tests of Solvitaire using this technique.
If you have a card deck from some other source then you can give Solvitaire a file containing those cards (identifying the cards as Ks, Qh, Jd, 10c and so on). Solvitaire can then find a solution for you. If there are cards that you have not yet exposed then enter these as "??" and Solvitaire will give you a play sequence you can use to expose one of these unknown cards.
You can choose to just play a game of solitaire. If you choose this option then you will be asked for the type of game and the level of difficulty. At any time during your game play, you can ask Solvitaire to show you a set of moves you could make to solve the game from that point. This is not just a simple "hint", what you get is a full solution to the game you are playing, starting from the point you have reached
If there are no possible solutions from that point then Solvitaire will tell you that you must back out some moves and try again. Why waste time trying to find a solution when there are no solutions to be found?
You can run the free version of Solvitaire for 30 days. After that, if you so wish, you can purchase an unlimited license for a small fee.
If you have read enough and want to try it out then just
The sections below give more detailed information about the product.
Before using Solvitaire to solve games from Microsoft Solitaire Collection you obviously have to install Microsoft Solitaire Collection on your PC. You can download it from the Microsoft Store or from www.xbox.com (NOT the web version from msn.com)
Go through the initial setup and get Microsoft Solitaire to the point where the cards have been dealt out at the start of a game. Then load up Solvitaire and it will enter the paused state, as shown in the screenshot.
Simply click on the Start button to start the game, or choose one of the specific challenges from the Start menu.
If at any point you move the mouse, or press the Esc key, then Solvitaire will stop moving cards around and enter the paused state once more. It will also enter the paused state if a window pops up unexpectedly.
The user interface shows the current game state. At the top of the window are icons representing the cards.
Initially the card state has not been determined and all cards are represented as gray icons.
Cards that are face down are initially marked as blue, "unknown".
During game play the next face down card that will be turned up is highlighted in orange.
Once a card is exposed and the suit/value determined then it is displayed as green.
All the play modes use the same set of buttons to control play.
The Start Step Pause and Undo buttons allow you to run, single step, pause running and undo the game being played.
The start button may be either a question mark or a run icon depending on whether Solvitaire is waiting to solve a game or is playing through a game.
The final button within the control panel is a status icon. This shows the current game state as follows.
The initial state is the analysis of the deal to determine the variant of solitaire, to read the dealt cards and to skim through the deck.
Once the deal has been analyzed, Solvitaire moves on to calculating a solution.
In the variants where all cards are known immediately following the analysis (Freecell and Pyramid) the solution is presented as soon as the calculation is complete. The success icon identifies this.
Some variants are dealt with cards that are face-down and Solvitaire must play to expose them. This is the slow part of solving a game and the walker icon illustrates this.
It is unlikely that Solvitaire will be able to play through a game without some backing out of moves. This is shown by the backward rotating spinner.
The pause icon indicates Solvitaire is paused. The status text indicates what triggered the pause. Click on the Start button to resume play.
More status information is available through the progress bars.
The progress bars give more detail on the current state of play. See the FAQ section "How does it work" for an explanation.
If you launch Solvitaire when cards have already been played then it will first ask to back out to the start of the game.
It has to do this in order to be able to determine the solitaire variant, and to read the initial state of the cards.
Solvitaire detects the type of game by inspecting the initial card layout. To run with a different type of game, just
You can run a game from a particular deal that is defined in a text file. The file must identify the solitaire variety and define the layout for a full deck (or two decks) of cards, with each card defined by a value a,k,q,j,10,9...2 and a suit s,h,d,c. The stacks must come first followed by the remainder of the pack.
The card reader is case insensitive. There can be spaces between the cards (kd ,ah , qs,) but no spaces between each line. If you are trying to discover an unknown card value then you can use ?? as the unknown card placeholder. Solvitaire will solve until it hits one of the cards marked as ?? and give you the sequence of moves to expose that card.
The first card in the list for the pack is the first one that is dealt (so for a Klondike 3 card deal the third card in the list will be at the top of the pile after the first deal).
Here are working examples of the file layout for each variety.
# The first line must be the Solitaire variant # (plus 1 or 3 for klondike 1 or 3 card deal) # followed by the lines giving the card layout klondike,3 AD,6D,2S,4H,KH,AS,JC, 2C,JH,5H,2H,JD,7C, 9H,8D,7D,3H,9S, 6H,5D,9D,3D, 8H,AH,3C, QC,2D, 7H, # The last line must be the deal cards # (if this variant has cards to be dealt) 10S,KD,JS,AC,5S,6S,QS,6C,KC,10D,10H,8S,QH,8C,QD,KS,5C,7S,3S,4S,4D,10C,9C,4C # The first 3 cards dealt are 10S,KD,JS # which puts JS at the top of the pile
spider qh, 9h, 6s, ac, 7d,6h,js,8c,8h,kd, ah,10h, 4s, 5c, as,7c,3s,2h,ac,5s, jd, qs, 2h, jc, ad,10d,2c,7h,4d,9h, 3c, 8s, 2d, 8d, 6c,9c,10s,3s,10h,ks, 3d, 3h, jc, 7h, 2c,jh,7s,8h,jd,3d, 3c, jh, 8s, 10c, 7c,kh,7d,4h,qs,qh,qd,5d,6s,8d,7s,9c,6d,3h,4d,kh,ks,10c,ah,4h,5d,qd,js,9s,2d,kc,4s,2s,9d,6h,5h,6d,9s,kc,9d,5h,qc,6c,qc,5c,10d,5s,8c,kd,as,4c,10s,ad,4c,2s
freecell qd, 6h, 10d, 10h, 7h, 2c, 6d, jc, 2d, kc, 4h, 9d, 7d, 6c, js, ac, jh, 2h, 6s, 3h, 5s, ah, qh, 5c, 8h, 2s, 3s, 8c, 7c, 5d, 4c, jd, 7s, kd, 5h, 4d, 3d, as, 10s, 9h, 10c, ad, 8s, qs, 4s, 9c, ks, kh, qc, 3c, 8d, 9s
pyramid 8c, 10s, 2h, 10c, 7s, 10d, 6d, jh, 8h, 3h, jd, qd, 9d, 9h, kd, kh, 6h, kc, 9s, 5c, 7h, 3s, js, 6s, 10h, ad, 9c, 5d, 2d,7c,8s,7d,as,qs,6c,ks,5h,ac,2s,ah,8d,jc,2c,4h,3d,5s,4s,qc,qh,4c,4d,3c
tripeaks 4S, KC, 10C, 6H, 2D, 8D, 4D, 7S, 10D, 7D, 8C, 8H, 2H, 9H, AC, JC, 3S, 9D, 7C, 4H, 5D, 6C, 3D, KS, 6S, QS, 2S, KH JH,9S,6D,9C,5S,7H,5H,JD,AD,QC,AS,KD,QH,4C,AH,3H,3C,QD,10H,10S,JS,8S,5C,2C,
If you choose to play a game then you are asked what type of game you want to play.
The game chooser dialog lets you choose the solitaire variation, including the number of cards dealt in Klondike and the number of suits to play in Spider. It also has a selection for the degree of difficulty of the game.
Games are generated using a random card generator that takes a "seed" to determine the card sequence. (The same approach that Microsoft uses to generate the cards in Solitaire Collection Freecell). Solvitaire has worked through the first 10,000 seeds for each game and assigned difficulties based on the effort taken to solve each one.
All the easy/average/hard games are guaranteed to be soluble. If you enter your own random number as a seed then there is no guarantee that the cards will be soluble. If you want to replay a game then choose Specific game # and leave the seed unchanged and you will find you are replaying the last game you played.