같은 판 경주: 포기·실패한 사람에게는 다른 사람이 푸는 동안 정답을 보내지 않음(다 풀었거나 게임이 끝났을 때만), 지뢰찾기는 밟은 지뢰만 바로 표시

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-11-24 14:36:21 +09:00
parent 9f9d20a641
commit c2aaff5762
7 changed files with 39 additions and 11 deletions

View File

@@ -34,7 +34,7 @@
puzzle: { rows, cols, mines, field: string /* '*' 또는 '0'..'8' */, start: number }
board: { open: string /* '1' 연 칸 */, flags: string, opened: number, boom: number | null }
view.board: { rows, cols, mines, cells: string, flags }
// cells: '#' 닫힘, 'F' 깃발, '0'..'8' 연 칸; 내가 끝났거나 게임이 끝나면 '*' 지뢰, '!' 터진 지뢰, 'x' 잘못 꽂은 깃발
// cells: '#' 닫힘, 'F' 깃발, '0'..'8' 연 칸, '!' 내가 밟은 지뢰; 게임이 끝나면(다 풀었으면 바로) '*' 지뢰, 'x' 잘못 꽂은 깃발
```
| type | payload | 검증 |
|---|---|---|