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
- 星标
- 887
- 派生
- 237
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 天 新手友好度 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
难度 3/5 1-2 天 新手友好度 52/100
hexlet-codebattle/codebattle#2358 ·
-
bug
难度 3/5 1-2 天 新手友好度 55/100
hexlet-codebattle/codebattle#2357 ·
查看 hexlet-codebattle/codebattle 的全部 Issue
相似的 Issue
-
Support `:max_channels_per_transport` configuration for the LiveView socket可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
phoenixframework/phoenix_live_view#4469 ·
维护者通常 1 天内回复
-
L: github:actions L: php:composer
难度 2/5 1-3 小时 新手友好度 88/100
dependabot/dependabot-core#16493 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
wintermeyer/vutuv#2364 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
carverauto/serviceradar#5470 · 1 条评论 ·
维护者通常 1 天内回复