Bug: There is no way for the losing player to check their code.
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
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
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
- Linguagem predominante
- Elixir
- Estrelas
- 887
- Forks
- 237
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de hexlet-codebattle/codebattle
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
hexlet-codebattle/codebattle#2358 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
hexlet-codebattle/codebattle#2357 ·
Todas as issues de hexlet-codebattle/codebattle
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
electric-sql/electric#4826 ·
Mantenedores costumam responder em até 1 dia
-
Support `:max_channels_per_transport` configuration for the LiveView socketTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
phoenixframework/phoenix_live_view#4469 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Composer: implicit PHP platform requirement no longer detected for single-version errors since #11245, so no updates are foundTalvez já em andamento @v-thavaahariharangit assumiu há 1 dia. AbertaL: php:composer
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
dependabot/dependabot-core#16493 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia