Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Bug: конец игры

Offen
#2,350 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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

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

Vorherrschende Sprache
Elixir
Sterne
887
Forks
237
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus hexlet-codebattle/codebattle

Alle Issues in hexlet-codebattle/codebattle

Ähnliche Issues

Weitere Issues zu Elixir

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.