FAILURE MAP
← Case archive

FA-83343 / Card game rule engines / Member archive

Trick winner seat runs past the last seat · case 03

When the leader is late in the rotation the winner is reported as seat 4, 5 or 6.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input [cards_in_play_order, leader_seat, trump_or_None, seats]. The highest trump wins; with no trump played the highest card of the led suit wins (A high). Off-suit non-trump cards never win. Return the winning seat, counting clockwise from the leader.

Why this case matters

Card-game engines, scoring apps and online tables apply this rule automatically on every hand.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
trick case 061Failed

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 ↗