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
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,12 @@ Your program will receive the initial configuration of two players' decks and mu
18
18
- If the player paying a penalty reveals another payment card, that player stops paying the penalty.
19
19
The other player must then pay a penalty based on the new payment card.
20
20
- 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.
21
-
That player then starts the next round.
21
+
That player then starts the next round_only_ if the opponent still has cards in their deck.
22
22
- The moment when the winner of the round collects the cards from the central pile is called a **trick**.
23
23
- A **trick** can occur in two ways:
24
-
- When a player finishes paying their penalty.
25
-
- When a player runs out of cards.
26
-
- The game **ends** when one player can no longer play a card.
27
-
This can occur at the start of a round or while paying a penalty.
24
+
- When a player finishes paying their penalty, whether or not they run out of cards in the process
25
+
- When a player cannot respond to a number card with another number card because their deck has been emptied.
26
+
- The game **ends** when one player runs out of cards while paying a penalty in full or in part, or when they cannot respond to a number card due to empty deck.
28
27
- 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