TCEC-Chess / tcecgui

Apache License 2.0
16 stars 15 forks source link

In mobile (narrow) layout, thinking animation is shown for wrong player when the board is flipped #213

Closed mooskagh closed 3 years ago

mooskagh commented 3 years ago

See screenshot:

image

Steps to reproduce:

  1. Open TCEC website.
  2. Shrink the browser window (or open it on a smartphone)
  3. Flip the board so that black pieces are shown in the bottom
  4. Note the thinking animation is shown for wrong player.

Peek 2021-01-25 08-46

UPD: It seems that it normalizes after the move is made, so it's not a very severe bug.

octopoulos commented 3 years ago

You're right. I forgot to flip the clock too. I'll have a look later. By the way, your last suggestion was very good, about the ply agreement.