File size: 281 Bytes
ef987bb
 
 
1
2
3
4
# Reference solution

A correct, dependency-free Minesweeper implementation exposing the deterministic `window.__game` API required by the task. Mine positions are supplied explicitly to `init`, so all behavior (adjacency, flood-fill, win/lose) is fully deterministic with no RNG.