Summary
Checking for game completion, displaying a modal window with the winner, disabling checks for the winner while showing an exit button, keeping the game active for the loser, and deleting the game only after both players have exited.
Reproduction steps
1. Go to https://codebattle.hexlet.io/ and log in.
2. Receive a match notification from an opponent and accept it.
3. Either you or your opponent must write the correct code during the match to win.
4. Wait for the match to end.
Expected result
- Proper game termination
- Displaying a modal window showing the winner
- Disabling the winner's ability to check and displaying an exit button
- Allowing the loser to remain active
- Deleting the game only after both players have exited
Actual result
After the game ends, the window where the code was entered remains visible; it displays "Game Over," and no further actions are offered.
Текущая версия: 05f8883
Развернуто в UTC: 2026-08-03 13:38:18
Browsers
Safari
OS
Windows
Summary
Checking for game completion, displaying a modal window with the winner, disabling checks for the winner while showing an exit button, keeping the game active for the loser, and deleting the game only after both players have exited.
Reproduction steps
1. Go to https://codebattle.hexlet.io/ and log in. 2. Receive a match notification from an opponent and accept it. 3. Either you or your opponent must write the correct code during the match to win. 4. Wait for the match to end.Expected result
Actual result
After the game ends, the window where the code was entered remains visible; it displays "Game Over," and no further actions are offered.
Текущая версия: 05f8883
Развернуто в UTC: 2026-08-03 13:38:18
Browsers
Safari
OS
Windows