mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
b81504b267
git-svn-id: svn://kolibrios.org@8058 a494cfbc-eb01-0410-851d-a64ba20cac60
15 lines
579 B
Plaintext
15 lines
579 B
Plaintext
# 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 |