Skip to content

Feature: Clean client removal #43

@TuuLe3007

Description

@TuuLe3007

Right now the server just says "Disconnecting client" when a client disconnects, and we wouldn't know who disconnected. If we add another message type (e.g goodbye_msg), and get the client to send the message to the server when they leave, then we can display their name in the console (and maybe send them their current standing on the leaderboard). If the client doesn't want to send the goodbye message and just sneakily leaves, the server can still handle it like right now.

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