개요
영어 끝말잇기 게임 - 이전 단어의 마지막 글자로 시작하는 단어를 제출하는 게임
게임 규칙
- 각 플레이어가 차례대로 단어 제출
- 이전 단어의 마지막 글자로 시작해야 함
- 시간 초과 시 탈락
- 마지막 1명 남으면 승리
시간 제한 (라운드별 감소)
| 라운드 |
시간 |
| 1-2 |
15초 |
| 3-4 |
13초 |
| 5-6 |
11초 |
| 7-8 |
9초 |
| 9+ |
8초 |
점수 계산
점수 = 기본(10) + 남은시간 + 길이보너스((글자수-4)×2)
API 엔드포인트
POST /chat/rooms/{roomId}/wordchain/start - 게임 시작
POST /chat/rooms/{roomId}/wordchain/submit - 단어 제출
POST /chat/rooms/{roomId}/wordchain/timeout - 타임아웃
POST /chat/rooms/{roomId}/wordchain/stop - 게임 종료
GET /chat/rooms/{roomId}/wordchain/status - 상태 조회
WebSocket 메시지
wordchain_start - 게임 시작
wordchain_correct - 정답
wordchain_wrong - 오답
wordchain_timeout - 시간 초과 (탈락)
wordchain_end - 게임 종료
구현 항목
참고
- 백엔드 가이드:
docs/frontend-wordchain-guide.md
- 캐치마인드 UI 스타일 참고
개요
영어 끝말잇기 게임 - 이전 단어의 마지막 글자로 시작하는 단어를 제출하는 게임
게임 규칙
시간 제한 (라운드별 감소)
점수 계산
점수 = 기본(10) + 남은시간 + 길이보너스((글자수-4)×2)API 엔드포인트
POST /chat/rooms/{roomId}/wordchain/start- 게임 시작POST /chat/rooms/{roomId}/wordchain/submit- 단어 제출POST /chat/rooms/{roomId}/wordchain/timeout- 타임아웃POST /chat/rooms/{roomId}/wordchain/stop- 게임 종료GET /chat/rooms/{roomId}/wordchain/status- 상태 조회WebSocket 메시지
wordchain_start- 게임 시작wordchain_correct- 정답wordchain_wrong- 오답wordchain_timeout- 시간 초과 (탈락)wordchain_end- 게임 종료구현 항목
참고
docs/frontend-wordchain-guide.md