It is possible to start a Zen game while in the game countdown.
Reproducing
Steps to reproduce the behavior:
Start a multiplayer game
Quickly click on the Zen button under the timer at the bottom
You are now in Zen and multiplayer at the same time, both mirroring your keypresses.
Expected behavior
Zen button should be disabled while countdown is going on, but also better state management (two games of TETR.IO at once should probably not be possible at all.)
Screenshots
Your setup
OS and version: Windows 10
Browser and version: Firefox 77.0.1
Additional context
It is also possible to click the Zen button after you die in multi and then proceed to play 2 games of Zen at once. This could probably introduce even worse bugs.
Describe the bug/issue
It is possible to start a Zen game while in the game countdown.
Reproducing
Steps to reproduce the behavior:
Expected behavior
Zen button should be disabled while countdown is going on, but also better state management (two games of TETR.IO at once should probably not be possible at all.)
Screenshots
Your setup
Additional context
It is also possible to click the Zen button after you die in multi and then proceed to play 2 games of Zen at once. This could probably introduce even worse bugs.