Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Bug: There is no way for the losing player to check their code.

Đang mở
#2,360 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
elixir
Lĩnh vực
frontend

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ả

bug
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.

Image
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

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hexlet-codebattle/codebattle

Tất cả issue của hexlet-codebattle/codebattle

Issue tương tự

Thêm issue về Elixir

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.