Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#2,360 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
elixir
Domínio
frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Elixir
Estrelas
887
Forks
237
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de hexlet-codebattle/codebattle

Todas as issues de hexlet-codebattle/codebattle

Issues semelhantes

Mais issues de Elixir

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.