任务
This commit is contained in:
11
tasks/task_022.txt
Normal file
11
tasks/task_022.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# Task ID: 22
|
||||
# Title: In-Room Chat (Text & Emotes)
|
||||
# Status: pending
|
||||
# Dependencies: 10, 12
|
||||
# Priority: medium
|
||||
# Description: Add a real-time chat feature within game rooms, supporting both text messages and a selection of emotes.
|
||||
# Details:
|
||||
Frontend: Implement a chat input field and message display area in the room UI. Include an emote picker. Backend: Implement WebSocket message type for `CHAT_MESSAGE`. Broadcast chat messages to all participants in the room. Implement basic message filtering for offensive content.
|
||||
|
||||
# Test Strategy:
|
||||
Join a room with multiple players. Send text messages and emotes. Verify all players receive messages in real-time. Test message filtering. Check for UI responsiveness with many messages.
|
||||
Reference in New Issue
Block a user