Skip to content

Feature Request: Add Chat Functionality πŸ’¬Β #1

Description

@shaikhsiddique

It would be great to add a real-time chat feature alongside the multiplayer chess game. This would allow players to communicate during the match, enhancing the user experience and making the game more interactive.

βœ… Expected Features
πŸ’¬ Real-time messaging between two players in the same room

🧹 Chatbox UI integrated alongside the game board (can be collapsible or at the bottom/right)

πŸ”’ Basic filtering or profanity control

πŸ•’ Option to display message timestamps

🚫 Prevent spectators or unauthorized users from joining the chat

πŸ’‘ Possible Implementation
Use existing Socket.io setup for emitting and receiving messages.

Add a new section in the EJS frontend for the chat interface.

Maintain message state temporarily in memory (can later move to DB if needed).

πŸ“‚ Reference
This will enhance player engagement and make it a more complete multiplayer experience.

Status: Open for contribution πŸš€
Type: Enhancement / Feature
Difficulty: Intermediate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions