summaryrefslogtreecommitdiff
path: root/noncore/games/solitaire/teeclubcardgame.cpp
authortille <tille>2002-07-10 13:58:19 (UTC)
committer tille <tille>2002-07-10 13:58:19 (UTC)
commit6fefe6d5f0b7721e8f692ad8759666f3c50cd437 (patch) (side-by-side diff)
treefa55166dba5b4366479a9c96c9efcc35a4ab7a02 /noncore/games/solitaire/teeclubcardgame.cpp
parentdcf25882f9093a34571454ec7bb2ecb821575498 (diff)
downloadopie-6fefe6d5f0b7721e8f692ad8759666f3c50cd437.zip
opie-6fefe6d5f0b7721e8f692ad8759666f3c50cd437.tar.gz
opie-6fefe6d5f0b7721e8f692ad8759666f3c50cd437.tar.bz2
tr(comments)
Diffstat (limited to 'noncore/games/solitaire/teeclubcardgame.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/solitaire/teeclubcardgame.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/noncore/games/solitaire/teeclubcardgame.cpp b/noncore/games/solitaire/teeclubcardgame.cpp
index e15da96..0941e0d 100644
--- a/noncore/games/solitaire/teeclubcardgame.cpp
+++ b/noncore/games/solitaire/teeclubcardgame.cpp
@@ -17,7 +17,15 @@
** not clear to you.
**
**
-** Modified by C.A.Mader 2002
+** created on base of patiencecardgame by cam (C.A.Mader) 2002
+** Rules for this game:
+** use 2 decks = 104 cards
+** deal 9 rows with 5 open cards each
+** append one card to each other card which is one step higher
+** move only columns of cards which are equal in suit
+** each card can be layed on a free place
+** deal 1 card at once on the first pile
+**
**
**********************************************************************/
#include <qgfx_qws.h>
@@ -84,7 +92,7 @@ void TeeclubCardGame::resizePiles()
beginDealing();
for (int i = 0; i < 9; i++) {
while ((workingPiles[i]->getCardPos(NULL).y() > 230) && (workingPiles[i]->getOffsetDown()>1)) {
- // Resizen des Stapels
+ // resize the pile
workingPiles[i]->setOffsetDown(workingPiles[i]->getOffsetDown()-1);
Card *card = workingPiles[i]->cardOnBottom();
int p=0;