✅ Check defeat at 15
| Category | Ability |
| Status | Passing |
| Test | tests/test_scoring.py::test_check_defeat_at_15 |
P1 has exactly 15 CP. P2 has 10 CP. P1 has lost.
Preconditions
-
P1 CP: 15
-
P2 CP: 10
Action
- check_defeat(state)
Expected Postconditions
-
Returns (True, PLAYER_1, reason)
-
P1 loses. P2 wins.
Assertions
assert game_over is True
assert loser == Side.PLAYER_1
assert reason is not None