Bug: A timer has been implemented for playing with another user.

已關閉
#2,359 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
56/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
elixir, react
領域
game-dev

研究方向

Start by reading the Game Mechanics documentation linked in the issue, especially clause 6 of Gameplay, then trace how the one-minute limit is applied in a battle created with another user. Reproduce the issue using the age_to_days task and verify that the game continues past the limit until a winner is determined.

由索引模型根據 Issue 內容生成。

描述

bug
Summary

Good afternoon!
Environment:
Yandex.Browser 26.8.2.1064 (64-bit)
OS: Windows 11 Pro

The requirement is specified in the documentation:
https://github.com/hexlet-codebattle/codebattle/wiki/Game-Mechanics
clause 6 of the “Gameplay” block

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 the test data in the fields Nickname, Password, Email, Password Confirmation
5. Return to the website https://tmailor.com/ru/
6. Open an email confirmation request in the received emails window
7. Follow the link from 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. Set the time limit to 1 minute per game
14. In the “Choose task by name or tags” menu, enter the value “age_to_days”, select the only found game option
15. Click on “Create battle”
16. Copy the link in the window that opens
17. In another browser, open the project page and the website https://tmailor.com/ru/
18. Create a second test account
19. Log in using the second test account on the project page.
20. Paste the copied link into the browser’s address bar.
21. Click the “Join” button
22. Wait for the 1 minute set as the time limit for the game to expire.
Expected result

The game continues after the expiration of the time limit set for the game.

Actual result
Image There should be no timer for winning the game against the user (the game continues until the winner is determined).
Browsers

No response

OS

Windows

主要語言
Elixir
星號
899
分支
241
平均合併
12 小時 48 分鐘
30 天內合併 PR
4

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

相似的 Issue

更多 Elixir Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。