Skip to content

Bug: Haven't notification if your opponent closed the game or doesn't have internet. #2286

@Swiftaksinija

Description

@Swiftaksinija

Summary

No notification of opponent disconnection and inability to finish the game before the timer expires.

Reproduction steps

- Log in with two different accounts (Player A and Player B).
- Player A creates a game and Player B joins it.
- Wait for the match to start (when the editor and timer appear).
- Player A should close the browser tab (simulating leaving the game).
- Player B should continue watching the game screen.

Expected result

When Player A disconnects, the following message should appear in the chat or in the center of Player B's screen: “Your opponent has left the game.”

The game should end automatically (technical victory for the remaining player) or offer to close the room immediately.

Actual result

No notifications about Player A leaving appear. The game continues, the timer keeps running. The exit button allows you to leave the room, but the match remains listed as “active” until the time runs out.

Browsers

Chrome

OS

Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions