-
Notifications
You must be signed in to change notification settings - Fork 1
/
log_example.txt
155 lines (147 loc) · 7.32 KB
/
log_example.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* me just testing program, version: 11th commit
./uno
.----------------. .-----------------. .----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
| | _____ _____ | || | ____ _____ | || | ____ | || | _ | || | _ | |
| ||_ _||_ _|| || ||_ |_ _| | || | .' `. | || | | | | || | | | | |
| | | | | | | || | | | | | || | / .--. | || | ___| |___ | || | ___| |___ | |
| | | ' ' | | || | | | | | | || | | | | | | || | |___ ___| | || | |___ ___| | |
| | `--' / | || | _| |_ |_ | || | `--' / | || | | | | || | | | | |
| | `.__.' | || ||_____|____| | || | `.____.' | || | |_| | || | |_| | |
| | | || | | || | | || | | || | | |
| '--------------' || '--------------' || '--------------' || '--------------' || '--------------'|
'----------------' '----------------' '----------------' '----------------' '----------------'
Sorry for bad look!
Usage: ./main <players> <special_mode> <debug_mode> <swap_card>
Example: ./main 2 0 0 1
Enter number of players: 2
Enter special mode [0 - false; 1 - true]: 0
Enter debug mode [0 - false; 1 - true]: 0
Enter swap card [0 - false; 1 - true]: 1
Your current settings are:
Players: 2
Special Mode: 0
Debug Mode: 0
Swap Card: 1
Player 0 card id: 1, Number: 8, Color: 3
Player 0 card id: 2, Number: 1, Color: 1
Player 0 card id: 3, Number: 5, Color: 3
Player 0 card id: 4, Number: 10, Color: 1
Player 0 card id: 5, Number: 10, Color: 1
Player 0 card id: 6, Number: 5, Color: 3
Player 0 card id: 7, Number: 14, Color: 0
Player 1 card id: 1, Number: 5, Color: 1
Player 1 card id: 2, Number: 14, Color: 0
Player 1 card id: 3, Number: 6, Color: 2
Player 1 card id: 4, Number: 6, Color: 2
Player 1 card id: 5, Number: 4, Color: 2
Player 1 card id: 6, Number: 4, Color: 1
Player 1 card id: 7, Number: 8, Color: 4
Top card: Number: 3, Color: 2
--------------------
Player 0 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 7, Color: 4
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 3, Color: 2
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 8, Color: 3
Card id: 2, Number: 1, Color: 1
Card id: 3, Number: 5, Color: 3
Card id: 4, Number: 10, Color: 1
Card id: 5, Number: 10, Color: 1
Card id: 6, Number: 5, Color: 3
Card id: 7, Number: 14, Color: 0
Card id: 8, Number: 7, Color: 4
Card id: 9, Number: 3, Color: 2
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 9
Top card: Number: 8, Color: 2
--------------------
Player 1 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 4
Top card: Number: 6, Color: 3
--------------------
Player 0 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 6
Top card: Number: 6, Color: 2
--------------------
Player 1 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 5, Color: 1
Card id: 2, Number: 14, Color: 0
Card id: 3, Number: 6, Color: 2
Card id: 4, Number: 0, Color: 0
Card id: 5, Number: 4, Color: 2
Card id: 6, Number: 4, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 4
Card is not compatible!
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 5
Top card: Number: 0, Color: 3
--------------------
Player 0 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 8, Color: 3
Card id: 2, Number: 1, Color: 1
Card id: 3, Number: 5, Color: 3
Card id: 4, Number: 10, Color: 1
Card id: 5, Number: 10, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 3
Top card: Number: 6, Color: 4
--------------------
Player 1 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 5, Color: 1
Card id: 2, Number: 14, Color: 0
Card id: 3, Number: 6, Color: 2
Card id: 4, Number: 0, Color: 0
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 3
Top card: Number: 5, Color: 1
--------------------
Player 0 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 8, Color: 3
Card id: 2, Number: 1, Color: 1
Card id: 3, Number: 0, Color: 0
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 2
Top card: Number: 6, Color: 3
--------------------
Player 1 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 5, Color: 1
Card id: 2, Number: 14, Color: 0
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 7, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 5, Color: 1
Card id: 2, Number: 14, Color: 0
Card id: 3, Number: 7, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 8, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 12, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 7, Color: 4
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 14, Color: 0
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 5, Color: 1
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 13, Color: 0
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: new
Your new card is: Number: 6, Color: 4
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: all
Card id: 1, Number: 5, Color: 1
Card id: 2, Number: 14, Color: 0
Card id: 3, Number: 7, Color: 1
Card id: 4, Number: 8, Color: 1
Card id: 5, Number: 12, Color: 1
Card id: 6, Number: 7, Color: 4
Card id: 7, Number: 14, Color: 0
Card id: 8, Number: 5, Color: 1
Card id: 9, Number: 13, Color: 0
Card id: 10, Number: 6, Color: 4
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: 10
Top card: Number: 2, Color: 2
--------------------
Player 0 turn
Enter card id or do something else ['new' - take card from deck, 'all' - show all player's cards]: