FA-82899 / Go territory scoring / Member archive
Only one of several simultaneously captured chains is removed · case 04
A move that removes the last liberty of two opponent chains leaves one of them on the board.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| 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 ↗