File size: 977 Bytes
ef987bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "task_id": 79,
  "items": [
    "Single offline index.html, no external dependencies or network.",
    "Exposes window.__game with init()/setState(board,turn)/getState()/legalMoves()/play(r,c) as specified.",
    "init() sets the standard opening (center 4 discs) with Black to move and counts {B:2,W:2}.",
    "legalMoves() returns every cell that brackets >=1 opponent disc in at least one of 8 directions.",
    "play() flips all bracketed opponent discs in ALL 8 directions, then switches turn.",
    "play() on an illegal or occupied cell is a no-op (board and turn unchanged).",
    "If the next player has no legal move it passes; if neither can move status becomes 'over' with winner by disc count (or 'draw').",
    "Renders an 8x8 board (data-testid=\"board\") plus current turn/counts for human view."
  ],
  "acceptance_items": [],
  "verifier_style": "deterministic runtime behavior and published artifact/protocol checks",
  "repair_revision": "2026-09-29"
}