On mobile, if you go afk long enough, when it's your turn, for the 20s afk-auto-resign timer to kick in, then sometimes if you quick-tap the pieces to move them, being careful to NOT drag the board at all, you can make your move without resetting that timer, and end up losing by disconnection even though it's not your turn anymore.
Lead: Perhaps touch-start events don't reset the timer client-side, but only touch-move events? I could see a rapid tap firing the start event but not the move one. Look inside input.js
You can replicate this on desktop as well by clicking your pieces without moving the mouse a single pixel, the act of clicking/tapping doesn't reset the timer the same as movement does.
On mobile, if you go afk long enough, when it's your turn, for the 20s afk-auto-resign timer to kick in, then sometimes if you quick-tap the pieces to move them, being careful to NOT drag the board at all, you can make your move without resetting that timer, and end up losing by disconnection even though it's not your turn anymore.
Lead: Perhaps touch-start events don't reset the timer client-side, but only touch-move events? I could see a rapid tap firing the start event but not the move one. Look inside
input.js