Bug: There is no way for the losing player to check their code.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Elixir
- Star
- 887
- Fork
- 237
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hexlet-codebattle/codebattle
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
hexlet-codebattle/codebattle#2358 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
hexlet-codebattle/codebattle#2357 ·
Tất cả issue của hexlet-codebattle/codebattle
Issue tương tự
-
Support `:max_channels_per_transport` configuration for the LiveView socketCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
phoenixframework/phoenix_live_view#4469 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
L: github:actions L: php:composer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
dependabot/dependabot-core#16493 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken links in the docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
wintermeyer/vutuv#2364 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(web-ng): netflow details - SRQL error: invalid request: unsupported StarRocks field: protoĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
carverauto/serviceradar#5470 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày