FA-82965 / Go territory scoring / Member archive
Even-sized boards receive side and centre handicap stones · case 05
A 10x10 board with 5+ handicap gets off-centre "tengen" stones.
Case contract
Input [size, count]. Star line e = 2 (0-based) below 13x13 else 3; f = size-1-e; mid = size//2. Counts outside 2..9 give []. Even boards allow at most 4. Order: [e,f],[f,e],[f,f],[e,e]; counts 6-9 add [mid,e],[mid,f]; 8-9 add [e,mid],[f,mid]; odd counts from 5 add the centre last.
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 |
|---|---|---|---|
| handicap placement case 6 | [[2, 9], [9, 2], [9, 9], [2, 2], [6, 2], [6, 9]] | [] | 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 ↗