the basis of the timer is (T) /each template has its own/ ... 5+- minutes (?) ....
but the idea is fundamentally flawed because what will be easy and simple for the computer will drive a regular player crazy, who wants to relax after a hard day on social media. each time, the timer for the battle will be different. people need simpler solutions, not to sit and guess - how many seconds the timer has calculated for each turn of the battle this time, twenty-seven or forty-three, and why. and god forbid, it incorrectly calculated thirty-nine seconds instead of forty-three, and because of this, he did not have time to make a move. :(
so, in the end, the sports prediction will be something as simple as possible.
I will try to put everything together. sorry for the long text, but it seems to be needed here. correct me if something is wrong.
next to the existing settings of the main timer, which are made before the game, three more settings are added for the "player-vs-player" battle timer.
1) a checkbox indicating that the "player-vs-player" timer is enabled
2) one number - the initial time reserve in the battle
3) one number, given for each turn in the battle
the third setting works the same way as now, in the existing main timer, the time for the battle works - it is added at the beginning of the turn, if it is not used, it burns out.
if it is used, but the turn is not made, the remaining time from the initial reserve begins to tick.
that is, there is no need to burn out this initial reserve immediately - this is a safety cushion for the entire battle.
if all the time runs out, the unit defaults (the combat machine skips a turn), the spell is not cast, and the turn passes to the opponent.
before the start of the battle, players are given a button to confirm the start of the battle (similar to the existing button to start a turn), in order to exclude situations when the battle starts, but the player is not at the computer, while
the one who was attacked confirms the start of the battle first
until that moment, the one who attacked can press the button as many times as he wants - it just shouldn't work for him.
(another option is the ability for both players to choose their "status" - ready for battle / not ready for battle - then the battle starts when both have set "ready")
there is also an opinion that the player-vs-player timer should not be made mandatory in seasonal games (at least for the first time). in tournaments - yes, it is needed primarily for them.
in the season, let people agree if they want. the top players (mostly) will play with the timer anyway, and the chill zone at the bottom will still play without a timer.