I was playing a game with someone and they left because they knew they were going to lose. This is a really annoying thing that has happened to me. I would like to know if there is a chess program that knows if someone has switched to another screen.


Chess.com detects it as well. If they by chance disconnect due to internet issues, it will show a bar that fluctuates based on wifi strength. They have a certain time to reconnect.

Chess.com additionally gives warnings and will ban that user if they consistently leave matches, so you don't have to worry about them.

For a chess program that can check if they switch screens, I doubt that as of late. It may be possible to check servers, but that could cause an invasion of privacy, as well as consent needed to "share screen" or some sort. If you have suspicions, you can send a message to the developers and tell them, and chess.com allows you to review your opponents accuracy and time of moves, to check if they truly have been making moves they shouldn't have been able to.

  • I assumed "switch screens" means "change to another window/tab," which can be detected with the JavaScript blur event. Apr 7 at 17:07
  • 3
    @BrianMcCutchon On the other hand, you can never really trust what JavaScript is telling you, as that can be modified client-side.
    – D M
    Apr 7 at 21:54

Lichess (http://lichess.org) has some ability to detect when your opponent has left the game. When that happens, it gives your opponent a brief chance to rejoin, then allows you to claim a victory or a draw if they do not rejoin. If Lichess detects that your opponent has left, it will show a counter counting down the seconds until you can claim victory. The amount of time on the counter seems to depend on the time control and other factors. If Lichess does not detect that your opponent has left, but they decide to run out the clock, Lichess will not allow you to claim a victory, but will still automatically penalize your opponent with a ban after repeated offenses.

Note that none of this happens in correspondence chess, as temporarily leaving the game is normal in that time control.

  • How long does it take lichess to let me claim a victory? Apr 7 at 1:11
  • 3
    @TobyHarnish I think it depends on the time control and other factors. Apr 7 at 1:47
  • I have waited months and I still don't see a option for me to claim a victory option on lichess. Apr 7 at 11:38
  • 1
    @TobyHarnish If you're playing with an "unlimited" time control, leaving the game is considered normal. If you want your opponent to have to play a move eventually, play with a time control. Apr 7 at 15:52
  • @ @Brian McCutchon, Thanks. I guess I was playing unlimited game. Apr 7 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.