Bug: конец игры
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- docker, elixir, javascript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Elixir
- Estrelas
- 887
- Forks
- 237
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de hexlet-codebattle/codebattle
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
hexlet-codebattle/codebattle#2360 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
hexlet-codebattle/codebattle#2358 ·
Todas as issues de hexlet-codebattle/codebattle
Issues semelhantes
-
Support `:max_channels_per_transport` configuration for the LiveView socketTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
phoenixframework/phoenix_live_view#4469 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Composer: implicit PHP platform requirement no longer detected for single-version errors since #11245, so no updates are foundTalvez já em andamento @v-thavaahariharangit assumiu há 1 dia. AbertaL: php:composer
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
dependabot/dependabot-core#16493 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
Broken links in the docsAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
wintermeyer/vutuv#2364 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia