Bug: There is no way for the losing player to check their code.
還沒有人認領這個 Issue。
評估
研究方向
Start by reading item 3 in the linked “Game completion” documentation, then reproduce the reported battle with two accounts and check the losing player's disabled “Run” button. The issue does not name code files or tests, so first locate the game completion and code-run entry points. Done means the losing player can submit their code for review and see the result after the opponent wins.
由索引模型根據 Issue 內容生成。
描述
Summary
Good afternoon!
There is an indication of the requirement in the documentation.:
https://github.com/hexlet-codebattle/codebattle/wiki/Механика-игры
Item 3 of the "Game completion" block
Environment:
Yandex.Browser 26.8.2.1064 (64-bit)
OS: Windows 11 Pro
Reproduction steps
1. Copy the email address from the website https://tmailor.com/ru/
2. Go to the website https://codebattle.hexlet.io/
3. Click on “Sign up”
4. Enter test data in the fields Nickname, Password, Email, Password Confirmation
5. Return to the website https://tmailor.com/ru/
6. In the window with the received emails, open the email requesting email verification
7. Follow the link in the email
8. Go to the website https://codebattle.hexlet.io/
9. Click “Sign in”
10. Enter a test email address and Password
11. Click on “Create a battle”
12. In the game settings, select “With other user”
13. In the “Choose task by name or tags” menu, enter the value “age_to_days”, and select the only found game option
14. Click on “Create battle”
15. In another browser, open the project page and the website https://tmailor.com/ru/
16. Create a second test account
17. Log in using the second test account on the project page
18. Click on “Join a battle”
19. In the list of games, select the game that was previously created under the first test account
20. Under the second test account, in the solution field, in line 4, enter the text “ans = age*365”
21. Click “Run”
22. In the window that opens, click "GG"
23. Under the first test account, enter the text “ans = age*age” in line 4 in the field with the solution
24. Press “Run”
Expected result
The code entered by the losing participant (the first test account) has been submitted for review, and the code review result has been displayed.
Actual result
The “Run” button is disabled for the losing player.
Browsers
No response
OS
Windows
- 主要語言
- Elixir
- 星號
- 895
- 分支
- 240
- 平均合併
- 12 小時 48 分鐘
- 30 天內合併 PR
- 4
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
hexlet-codebattle/codebattle 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
hexlet-codebattle/codebattle#2374 ·
查看 hexlet-codebattle/codebattle 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
-
[Python] Worker.close() spins at 100% CPU when its teardown task is canceled可能已有人在做 @Glutexo 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
taskforcesh/bullmq#5053 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
mathieuprog/tz#44 ·
-
documentation
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
easy elixir first-contributor first-contributors good first issue help wanted up-for-grabs
難度 1/5 1 小時以內 新手友好度 88/100
fork-commit-merge/fork-commit-merge#8454 ·
維護者通常 1 天內回覆