kolibrios/programs/games/solitaire
ConLenov b81504b267 Add Console Solitaire game
git-svn-id: svn://kolibrios.org@8058 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-08-21 16:02:49 +00:00
..
compile.sh Add Console Solitaire game 2020-08-21 16:02:49 +00:00
README.txt Add Console Solitaire game 2020-08-21 16:02:49 +00:00
solitaire.cpp Add Console Solitaire game 2020-08-21 16:02:49 +00:00
solitaire.txt Add Console Solitaire game 2020-08-21 16:02:49 +00:00

# Console-Solitaire
Console solitaire game written by me with C/C++ while I was taking Data Structures course.

### How to Use?
Put "solitaire.cpp" and "solitaire.txt" files in same folder.
Then just compile "solitaire.cpp" with any cpp compiler.

### How to play?
Select a choice with 1,2,3,4.
Enter a card like: B S A, R D Q ...
B S A = (Black Spades A), R D Q = (Red Diamond Queen) ...

First Attribute is card color: B (Black), R (Red)
Second Attribute is card figure: S (Spades), C (Clubs), H (Hearts), D (Diamonds)
Third Attribute is card number: A K Q J 10 9 8 7 6 5 4 3 2