DEV Community

Cover image for Chess & Computer Tech Today – A Programmer’s Take
Boris Orekhov
Boris Orekhov

Posted on

Chess & Computer Tech Today – A Programmer’s Take

Chess & Computer Tech Today – A Programmer’s Take

Remember when beating a human at chess was the holy grail of AI? In 1972, it was literally the benchmark. Fast forward to today: a random office desktop crushes any grandmaster. Game over? Not even close.

Chess didn’t die – it went full cyberpunk. And as a programmer who barely knows a fork from a fianchetto (my Lichess rating is ~800), I’ve become obsessed with how code reshaped this ancient game. Here’s what every dev should care about.

1. Analysis engines – the real MVP

Every chess move today gets instantly judged by an engine. That little “thermometer” on stream? It’s a live eval bar. One blunder, and the score tanks from +2 to -3 – you feel the drama.

But here’s the fun part for us: I built vector models of chess games using word2vec. Treating moves like words in a sentence. Preprint here: arxiv.org/abs/2407.19600. Turns out, chess positions embed nicely into vector space. Who knew?

2. Cheating – from SMS to… sex toys?

Cheating in chess is not like doping. A single engine move at the right moment = game over. So offline tournaments scan players like airport security.

But the real WTF moment: during the 2022 Carlsen–Niemann scandal, Elon Musk suggested Niemann might have received moves via a remote-controlled vibrating sex toy hidden inside his body. Yes, seriously.

And how would you encode a chess move without Bluetooth? French team at 2010 Olympiad used SMS + captain standing near imaginary chessboard squares. Programmers, think about it: you could encode a move with just 2 vibrations (source square, target square). Someone even wrote Python demo for that.

3. Online chess – pre-moves, flag-hunting, and lag

Online blitz (3+0, 3+1) is a different beast. Premoves let you queue your next move while opponent thinks. Click, and it executes instantly when their move arrives. No physical clock button. No “oops I dropped the knight”.

But then you get flag-hunting – players in losing positions spam premoves hoping the winner runs out of time. Old-school champ Kramnik calls it unethical. New generation says “it’s in the rules”.

The ultimate test? A 2024 match between Kramnik (legend, hates flag-hunting) and Jospem (online phenom, suspected cheater). Half the games OTB, half online, same room back-to-back. Result: inconclusive. But the drama? Chef’s kiss. Also, organizers printed fresh laptops – Windows updates caused lag only for one player. Conspiracy? Probably just Windows.

Why it matters for devs

Chess is no longer about “intelligence”. It’s about psychology, emotion, and… code. We built machines that play perfect chess, then humans kept playing anyway. Now we’re debating: does a premove change the nature of the game? Is online chess “real” chess? Can we detect cheaters from move statistics?

These are our questions – systems design, anomaly detection, real-time constraints, UI/UX of time controls.

And the best part? No definitive answers. Just like software engineering.

Top comments (0)