FAILURE MAP
← Case archive

FA-82900 / Go territory scoring / Member archive

Only one of several simultaneously captured chains is removed · case 05

A move that removes the last liberty of two opponent chains leaves one of them on the board.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input [board, colour, row, col]. Occupied point -> ["illegal", "occupied"]. Otherwise place the stone, remove every adjacent opponent chain left without liberties, then reject the move as ["illegal", "suicide"] only if the placed chain still has no liberty. Return [new_board, captured_stone_count].

Why this case matters

Go servers and scoring tools compute this value automatically; a wrong answer changes a game result.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
move result case 6[["WB.BB", "B.B.W", "BBWBB", "B.BW."], 1][["WB.BB", "B.B.W", "BB.BB", "B.BW."], 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 ↗