FAILURE MAP
← Case archive

FA-83528 / Card game rule engines / Member archive

The draw victim still takes a turn · case 03

After a draw two the victim plays immediately.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input [players, current, direction(+1/-1), card]. Reverse flips direction (with two players it acts as skip); skip jumps one player; draw2/wild4 make the next player draw 2/4 and lose their turn. Return [next_player, direction, draw_count, victim_or_None].

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
turn case 0[2, 1, 4, 2][0, 1, 4, 2]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 ↗