Bug: конец игры
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, elixir, javascript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Elixir
- スター
- 887
- フォーク
- 237
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hexlet-codebattle/codebattle のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
hexlet-codebattle/codebattle#2360 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
hexlet-codebattle/codebattle#2358 ·
hexlet-codebattle/codebattle の issue をすべて見る
似ている issue
-
Support `:max_channels_per_transport` configuration for the LiveView socket対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
phoenixframework/phoenix_live_view#4469 ·
メンテナーはふだん 1 日以内に返信
-
Composer: implicit PHP platform requirement no longer detected for single-version errors since #11245, so no updates are found対応中かも @v-thavaahariharangit が今日担当しました。 オープンL: php:composer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
dependabot/dependabot-core#16493 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
wintermeyer/vutuv#2364 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信