Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8058 ConLenov 1
# Console-Solitaire
2
Console solitaire game written by me with C/C++ while I was taking Data Structures course.
3
 
4
### How to Use?
5
Put "solitaire.cpp" and "solitaire.txt" files in same folder.
6
Then just compile "solitaire.cpp" with any cpp compiler.
7
 
8
### How to play?
9
Select a choice with 1,2,3,4.
10
Enter a card like: B S A, R D Q ...
11
B S A = (Black Spades A), R D Q = (Red Diamond Queen) ...
12
 
13
First Attribute is card color: B (Black), R (Red)
14
Second Attribute is card figure: S (Spades), C (Clubs), H (Hearts), D (Diamonds)
15
Third Attribute is card number: A K Q J 10 9 8 7 6 5 4 3 2