Osmosis is an implementation of the Osmosis solitaire game. The objective is to place all 52 cards of the deck onto the rows of the foundation pile, each card in the row corresponding to its suit. Cards are moved or played onto the foundation pile from face up cards in either the reserve pile or the drawn cards pile.
The Osmosis screen consists of the following sections:
The reserve pile starts with 4 rows of 4 cards each, with the top card in each row face up. The top card in any row may be played to the foundation row for that card's suit at any time as long as either the suit is the base suit, or the foundation row for that suit has been established and the card of the same rank has been played in the foundation row immediately above the row for the card's suit. Once the top card in a row is moved, the next card down becomes the top card.
The foundation pile contains 4 rows, one for each suit. The top row is the base suit established by the 17th card dealt. This card establishes the base card for each suit. Each subsequent row may be filled once the base card for that suit has been played. When all 4 rows are filled completely the game is won. The current count of cards played to the foundation pile is maintained in the Status section at the bottom of the game screen.
The drawn pile shows up to the last 3 cards drawn from the stock deck, with the last card drawn shown face up. The top card may be played to the foundation row for that card's suit as long as either the suit is the base suit, or the foundation row for that suit has been established and the card of the same rank has been played in the foundation row immediately above the row for the card's suit.
As each card in the drawn pile is played, the next card in the pile becomes face up. If all drawn cards are played, up to the next 3 cards in the stock deck will be drawn. If all cards in the stock deck have been drawn, the draw will begin with a new stock deck consisting of all unplayed cards. When no possible plays are left from either the unplayed cards in the stock deck or from the reserve pile, the game is considered lost. The current count of cards left to draw from the stock deck is maintained in the Status section at the bottom of the game screen.
Game play consists of four, vertically arranged reserve piles of four cards each (one face-up card on top of three face-down cards). A seventeenth card is put in the first (top) of four foundations, which are also arranged vertically to the right of the reserve piles. Cards with the same suit as this card must be moved to this foundation. The other three foundations are also built by suit, but must begin with cards of the same rank as the first card of the top foundation (the 17th card previously mentioned). Foundation piles are fanned from left to right. All undealt cards make up the stock.
To begin, the top cards in each reserve pile are the only cards in play and must be moved to the foundations if possible. A card can be moved to a foundation if a card of the same value has already been placed in the foundation above it. Once all possible cards have been placed in the foundations, the next face-down cards remaining in the reserve piles are turned face-up. When placing cards from the reserve piles is no longer possible, one can use the stock, deal three cards at a time, and use its top card to make possible moves. One can redeal the stock as long as there are possible moves from the stock or from the reserve piles to the foundations.
The Osmosis game will accumulate and save the following statistics for each game played.
Statistic | Description |
---|---|
Games | The total number of games played. |
Wins | The total number of games won. |
Losses | The total number of games lost. |
Win Pct | The percentage of games wons out of the number of games played. |
Max Card Count | The highest number of cards in the foundation pile in a losing game. |
Card Count Avg | The average number of cards in the foundation pile for all games played. |