tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
387 stars 21 forks source link

Custom Game Countdown doesnt have a limit, resulting in the countdown sound overlapping every other sound even when exiting #1265

Closed TheMcChicken closed 2 weeks ago

TheMcChicken commented 4 months ago

Checklist

OS and Version

Chrome OS V121

Browser and version

Chrome 121

Describe the bug/issue

Starting a custom game with Countdown Count to an absurdly high number will cause the game to never start, and exiting makes the sound just keep playing until its either finished or the tab is closed. (also the countdown visual in-game caps at ~100 quadrillion, or going too high causes the game to display (digit)E+(digit))

Reproducing

When you start a custom game, go to Meta, set Countdown Count to an absurdly high number, and when you start the game, it results in the Countdown sound playing forever until the tab is closed. If countdown interval is set to a very low number, it makes a buzzing sound.

Expected behavior

A limit of around up to 180 seconds, or the countdown sound to stop when exiting the game.

Screenshots

https://github.com/tetrio/issues/assets/106632528/f7bc5021-e725-4a1f-ae2f-72c38040a957

Console logs

No response

Additional context

No response

github-actions[bot] commented 1 month ago

This bug report has not seen any activity in a while. If the issue is still relevant, please comment on it or the issue will be automatically closed. This way, the issue tracker can be kept clean. Thank you!