2 ms·
Good question. A web chess game is turn based with some basic logic to sync the clock. There are no secrets or complex state like many video games. Seems rath
by Waterluvian 4y ago
Good question.
A web chess game is turn based with some basic logic to sync the clock. There are no secrets or complex state like many video games. Seems rather straightforward.
The hard part is scaling up everything around it:
- Stockfish real-time predictions
- anti-cheat monitoring
- the moderation tasks any social website needs
- noxvilleza 4y agoAnti-cheat monitoring can happen after the fact though, and Stockfish can run in-browser (there's a JS-compiled version of it).
- Waterluvian 4y agoOh cool. Does it run in the browser for This website? That would scale far better.
- qwertycrackers 4y agoI believe it does. At least, the better version of this site, lichess, runs the analyzer in the browser.