Bug: конец игры
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, elixir, javascript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Elixir
- Stelle
- 887
- Fork
- 237
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hexlet-codebattle/codebattle
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
hexlet-codebattle/codebattle#2360 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
hexlet-codebattle/codebattle#2358 ·
Tutte le issue di hexlet-codebattle/codebattle
Issue simili
-
Support `:max_channels_per_transport` configuration for the LiveView socketForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
phoenixframework/phoenix_live_view#4469 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Composer: implicit PHP platform requirement no longer detected for single-version errors since #11245, so no updates are foundForse già presa @v-thavaahariharangit l’ha presa 1 giorno fa. ApertaL: php:composer
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
dependabot/dependabot-core#16493 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Broken links in the docsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
wintermeyer/vutuv#2364 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno