diff --git a/apps/web/src/games/baduk/help.ts b/apps/web/src/games/baduk/help.ts index 471f32e..bf4d2a3 100644 --- a/apps/web/src/games/baduk/help.ts +++ b/apps/web/src/games/baduk/help.ts @@ -69,7 +69,6 @@ export function helpNow(v: BadukView, _me: string | null, players: Record p.reason !== 'suicide')) lines.push('빨간 네모 자리는 패(바로 되따내기 금지)나 같은 모양 반복 때문에 지금은 둘 수 없어요. 다른 곳에 한 수 둔 뒤에 다시 봐요.'); lines.push(caps); diff --git a/apps/web/src/games/baduk/index.tsx b/apps/web/src/games/baduk/index.tsx index ef69bec..c54632d 100644 --- a/apps/web/src/games/baduk/index.tsx +++ b/apps/web/src/games/baduk/index.tsx @@ -279,12 +279,6 @@ function BadukBoard({ view: v, act, pending, tapConfirm }: BoardProps {v.lastMove && lastColor && ( )} - {myTurn && - v.atariWarnings.map((p) => ( - - - - ))} {ghost && v.myColor && } {hoverMark && } {(myTurn || marking) && kbd && } @@ -639,7 +633,6 @@ function statusText(v: BadukView, _me: string | null, players: Record 0) return '상대가 패스했어요. 끝내려면 패스하세요'; - if (v.atariWarnings.length) return `내 차례예요 (${COLOR_KO[v.turn]}). 단수에 몰린 돌이 있어요!`; return `내 차례예요 (${COLOR_KO[v.turn]}). 둘 곳을 눌러 주세요`; } const nick = players[v.players[v.turn]]?.nickname ?? COLOR_KO[v.turn]; @@ -784,8 +777,7 @@ function Options({ value: o, onChange }: OptionsProps) { set({ undo })} />
- 도움 표시 - set({ atariWarning: k === 'on' })} /> + 무승부 제안 set({ drawOffer: k === 'on' })} />
diff --git a/apps/web/src/games/chess/help.ts b/apps/web/src/games/chess/help.ts index 21e7a23..adf0625 100644 --- a/apps/web/src/games/chess/help.ts +++ b/apps/web/src/games/chess/help.ts @@ -43,7 +43,6 @@ export function helpNow(v: ChessView, _me: string | null, players: Record m.promotion)) lines.push(v.autoQueen ? '폰을 끝 줄로 보내면 자동으로 퀸이 돼요(승진).' : '폰을 끝 줄로 보내면 퀸·룩·비숍·나이트 중 무엇으로 바꿀지 고르는 창이 떠요(승진). 보통은 퀸이에요.'); if (legal.some((m) => m.castle)) lines.push('지금 캐슬링을 할 수 있어요. 킹을 누르면 캐슬링할 칸도 표시돼요.'); - if (v.threatened?.length) lines.push('주황 점선 네모가 쳐진 내 기물은 지켜 주는 기물 없이 공격받고 있어요. 조심하세요.'); if (v.drawMode === 'fide' && v.claimable) lines.push(`[⚖ 무승부 주장]을 누르면 상대 동의 없이 바로 비길 수 있어요(${v.claimable === 'threefold' ? '같은 국면 3번' : '50수 동안 폰 이동·잡기 없음'}).`); if (mat) lines.push(mat); diff --git a/apps/web/src/games/chess/index.tsx b/apps/web/src/games/chess/index.tsx index 333928a..8c08097 100644 --- a/apps/web/src/games/chess/index.tsx +++ b/apps/web/src/games/chess/index.tsx @@ -328,10 +328,6 @@ function ChessBoard({ view: v, act, pending }: BoardProps) { {lastFrom && } {lastTo && } {selected && } - {v.threatened?.map((sq) => { - const c = cell(sq); - return ; - })} {check && } {/* Coordinates: files on the bottom row, ranks on the left column. */} {Array.from({ length: 8 }, (_, i) => ( @@ -757,7 +753,7 @@ function Options({ value: o, onChange }: OptionsProps) {
초보 도움말 - set({ hints })} /> + set({ hints })} />