You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/camicia/instructions.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,13 @@ Your program will receive the initial configuration of two players’ decks and
17
17
- If the player paying a penalty reveals another payment card, that player stops paying the penalty and the other player much then pay the penalty.
18
18
- If the penalty is fully paid without interruption, the player who laid the **last payment card** collects the central pile and places it at the bottom of their deck.
19
19
That player then starts the next round.
20
-
- The game ends when one player has no more cards.
20
+
- The moment when the winner of the round collects the cards from the central pile is called a **trick**.
21
+
- A **trick** can occur in several ways:
22
+
- When a player finishes paying their penalty → the game continues
23
+
- When a player runs out of cards while paying a penalty → the game ends
24
+
- When a player can no longer place a card in the central pile → the game ends
25
+
- The game **ends** when one player can no longer respond by playing a card, in general.
26
+
- The game **enters a loop** as soon as decks identical to previous ones are played during the game, ***not*** counting number cards!
0 commit comments