FA-83379 / Card game rule engines / Member archive
Players must follow the most recent card instead of the led suit · case 04
After a discard, the next player is forced to follow the discard suit.
Case contract
Input [hand, trick_so_far, hearts_broken, first_trick]. Leading: on the first trick the holder of 2C must lead it; hearts may not be led before they are broken unless the hand is all hearts (QS may be led). Following: follow the led suit if possible; on the first trick a void player may not discard hearts or QS unless nothing else is held. Return legal cards in hand order.
Why this case matters
Card-game engines, scoring apps and online tables apply this rule automatically on every hand.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| legal plays case 0 | ["6D"] | ["6C", "7C", "QC"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗