Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Bug: конец игры

Aperta
#2,350 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

bug
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
  1. Proper game termination
  2. Displaying a modal window showing the winner
  3. Disabling the winner's ability to check and displaying an exit button
  4. Allowing the loser to remain active
  5. 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.

Image

Текущая версия: 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

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hexlet-codebattle/codebattle

Tutte le issue di hexlet-codebattle/codebattle

Issue simili

Altre issue su Elixir

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.