govariantsteam / govariants

A place to play Go variants
https://www.govariants.com
GNU Affero General Public License v3.0
5 stars 1 forks source link

fix bug where time control is undefined #315

Closed merowin closed 3 weeks ago

merowin commented 3 weeks ago

This aims to fix a time control bug that unfortunately I introduced with the game state changes.

The problem is when a move is played, the state sent does not include the time control object. As a consequence the clock does not display the times.

I've also made it so the game state map does not include the time control object any more ,for clarity and potentially saving memory space. I think even if users browse through the game history, its ok if we display the current times.