M8: 파티 게임 3종 합치기, 그림 맞히기도 게임 중 방 채팅 닫기
- 도블·그림 맞히기·마피아 브랜치 병합 (validate ctx 타입은 ValidateContext로 통일) - 그림 맞히기에 ownChat 적용: 출제자 채팅 금지(§4), 정답이 방 채팅으로 새는 문제 차단 - '곧 나와요' 목록이 비면 숨김, 로드맵 M8 결과 기록 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -874,7 +874,7 @@ function GuessPanel({ v, me, players, act, pending }: { v: CatchmindView; me: st
|
||||
}, [lastId, v.chat, me]);
|
||||
useEffect(() => () => void (closeTimer.current && clearTimeout(closeTimer.current)), []);
|
||||
const enabled = v.canGuess || v.canChat;
|
||||
// Enter anywhere focuses this box (not the room chat, so answers don't end up in the open room chat).
|
||||
// Enter anywhere focuses this box (the room chat is closed during the game: ownChat).
|
||||
useEffect(() => {
|
||||
if (!enabled) return;
|
||||
const onKey = (e: KeyboardEvent) => {
|
||||
@@ -1239,6 +1239,7 @@ const ui: GameUI<CatchmindView, CatchmindOptions> = {
|
||||
Options,
|
||||
optionsSummary,
|
||||
Rules,
|
||||
ownChat: true,
|
||||
};
|
||||
|
||||
export default ui;
|
||||
|
||||
Reference in New Issue
Block a user