]> git.saurik.com Git - wxWidgets.git/blame - demos/forty/readme.txt
Don't include wxUniversal configurations in MSVC project files.
[wxWidgets.git] / demos / forty / readme.txt
CommitLineData
fcd86df1
JS
1Forty Thieves is a patience game played with two full packs of
2cards. At the start of the game forty cards are dealt on the
3eight 'bases' along the top of the window. The object of the
4game is to place all the cards onto the eight 'foundations'. The
5foundations are built starting with the ace and adding cards of
6the same suit up to the king. Cards are dealt from the pack and
7placed on the discard pile. Cards may be moved from the discard
8pile or one of the bases to a base or a foundation. Only one
9card can be moved at a time. Cards can only be placed on a base
10if the top card of the base is of the same suit and is one
11higher in pip value or the base is empty e.g. the eight of
12spades can only be placed on top of the nine of spades.
13
14When the mouse cursor is over a card which can be moved it
15changes to the 'hand' cursor. The card can then be moved by
16double clicking the left button.
17
18The mouse cursor also changes to a hand when a card is dragged
19by placing the cursor over the card and holding down the left
20button. This feature can be enabled and disabled by selecting
21the 'Helping hand' option from the Edit menu.
22
23The 'foundations' are the eight piles of cards down the left
24side of the window. When the game starts these piles are empty.
25The object of the game is to place all the cards on the
26foundations. An ace can be placed on any empty foundation. Other
27cards can only be placed on a foundation if the top card is of
28the same suit and is one lower in pip value e.g. the three of
29clubs can be placed on the four of clubs.
30
31The 'bases' are the ten piles of cards along the top of the
32window. At the start of the game four cards are dealt face up on
33each of the bases. A card can be added to a base if the base is
34empty or if the top card is of the same suit and is one higher
35in pip value e.g. the queen of hearts can be placed on the king
36of hearts The top card of a base can be moved onto another base
37or a foundation.
38
39Cards can be only moved one at a time. The top card of the pack
40can be dealt onto discard pile by placing the mouse cursor over
41the pack and pressing the left button. The number of cards
42remaining is displayed to the right of the pack.
43
44Cards can be moved from the discard pile or the bases either by
45'double-clicking' or by dragging. If the left button is
46double-clicked when the mouse cursor is over a card and it can
47move to another pile, it will do so. This is a quick way of
48moving cards when their destination is unambiguous.
49
50A card can be dragged by placing the mouse cursor over the card
51and holding down the left button. The card will follow the mouse
52cursor until the left button is released. If the card is over a
53pile on which it can be placed it will be added to that pile,
54otherwise it will be returned to the pile from which it was
55dragged.
56
57One point is scored for every card that is placed on a
58foundation. Since there are two packs of 52 cards the maximum
59score is 104. A record is kept of the number of games played,
60the number of games won, the current score and the average
61score. This information is displayed at bottom right of the
62window and is stored on disk between games. A game is deemed to
63have started if the cards have been dealt and any card has been
64moved. If the game is abandoned before it is finished (i.e. by
65starting a new game or closing window) it counts as a lost game.
66New players can be added by selecting the 'Player' option from
67the Game menu. A summary of players' scores can be displayed by
68selecting the 'Scores...' option from the Game menu.
69
70All moves are recorded and can be undone. To undo a move select
71the undo menu item from the Edit menu. A quicker way of undoing
72is to press the right mouse button (it doesn't matter where the
73mouse cursor is). Right button undo can be enabled and disabled
74by selecting the 'Right button undo' option from the Edit menu.
75Pressing the right mouse button with the control key pressed
76re-does a previously undone move.
77
78An empty base or two is very useful as it gives the opportunity
79to unscramble other bases. Try not to build onto kings which
80obscure valuable cards as it will be difficult to get to them
81later. The undo facility is very useful for going back and using
82'hindsight'.
83
84Don't be put off if you can't win every game. I reckon winning 1
85in 10 is pretty good (winning 1 in 3 is excellent).
86