FA-83434 / Card game rule engines / Member archive
Taking all hearts without the queen counts as shooting the moon · case 04
A player with 13 hearts but not QS is treated as a shooter.
Case contract
Input [cards_taken_by_each_player, jack_rule]. Each heart is 1, QS 13. A player taking all 26 penalty points shoots the moon: they score 0 and every other player 26. With jack_rule the taker of JD then scores -10. Return the list of round scores.
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 |
|---|---|---|---|
| round score case 7 | [26, 0, 26, 26] | [0, 13, 0, 13] | 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 ↗