Bug: конец игры
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- docker, elixir, javascript
Rechercherichtung
Look at the game termination logic in the backend (likely Phoenix channels or LiveView) and the frontend React components for the game-over modal. The issue mentions disabling checks for the winner and showing an exit button while keeping the loser active. Start by finding where the game state is managed and how the UI updates on game completion. Check for existing tests related to game end to understand the expected flow.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Elixir
- Sterne
- 887
- Forks
- 237
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus hexlet-codebattle/codebattle
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
hexlet-codebattle/codebattle#2360 ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
hexlet-codebattle/codebattle#2358 ·
Alle Issues in hexlet-codebattle/codebattle
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
phoenixframework/phoenix_live_view#4469 ·
Maintainer antworten meist innerhalb von 1 Tag
-
L: github:actions L: php:composer
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
dependabot/dependabot-core#16493 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug(web-ng): netflow details - SRQL error: invalid request: unsupported StarRocks field: protoOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
carverauto/serviceradar#5470 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag