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