ELO Darts

Build notes
Playing at the same board
I wanted playing darts online to feel as alive as standing at the board with a friend. We built a match view where players could see each other and follow the score as they played. For tournaments, we added a broadcast view for spectators. Results fed into player profiles with match statistics and ELO ratings.
Keeping each match in sync
When the score changed, I wanted the other player and everyone watching that match to see it straight away. That update had to reach devices connected to different servers. During tournaments, several matches ran at once, each with its own live video.
I ran the live connections on a separate backend. Socket.IO rooms routed updates to the right match or tournament, and Redis passed those events between instances. Background workers picked up rating and statistics jobs from a queue, so sending a score update could happen straight away.
Video had its own path. Each player uploaded one WebRTC stream to a mediasoup server, which forwarded it to the opponent and spectators. As more viewers joined, the media server handled the extra video connections.
Why I love it
ELO Darts is still my reference for scalable, real-time architecture. What I love is the moment when a player throws in one city and their opponent in another sees the score change right there with the video. It just feels right. Getting software to disappear like that is the part of engineering I find most rewarding.
More from the product

