{
  "id": 18320179,
  "title": "Online multiplayer with no game server: WebRTC invite links and a browser as referee",
  "url": "https://urgent.news/2026/11/05/online-multiplayer-with-no-game-server-webrtc-invite-links-and-a",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-05T14:40:41.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/playtrova/online-multiplayer-with-no-game-server-webrtc-invite-links-and-a-browser-as-referee-316b"
  },
  "original_language": "en",
  "account": "PlayTrova is a free, static Next.js website that offers turn-based board games without any backend, servers, or accounts. The site enables online multiplayer gaming via WebRTC invite links, eliminating the need for a game server or hosting. Twelve turn-based games, such as Checkers, Four in a Row, Reversi, and Sea Battle, can be played this way.\n\nThe core functionality involves two browsers communicating over a WebRTC data channel, with PeerJS providing the necessary signalling through a free hosted server. The host's peer ID, in the form of a room code, serves as the identifier for the game. The invite link, such as /games/checkers/?join=K7QX2M, is created using this code and can be shared with friends.\n\nThe games are deterministic, relying on pure logic and a seed stored in the game state for any randomness. This makes the networking process straightforward, as the host sends the seed and who moves first once, after which each side only sends its own moves as short strings. For instance, in Four in a Row, a move might be represented as \"3\".\n\nThe data channel's messages are parsed strictly to prevent malicious input. Each move is validated against the game's rules, ensuring both players receive and validate each other's moves. Additionally, a six-emoji reaction system serves as the chat function, with no support for arbitrary text input to maintain a family-friendly environment.",
  "summary": "PlayTrova is a free games site I run as a fully static Next.js site, with no backend at all. I still wanted the board games to have the one feature families actually ask for: send a link, play together . No accounts, no lobby, and no server to pay for or keep alive. Today 12 of the turn-based games, including Checkers , Four in a Row, Reversi and Sea Battle , can be played online that way. Here's…",
  "key_points": [
    "PlayTrova offers turn-based board games without backend or accounts",
    "WebRTC invite links enable online multiplayer gaming",
    "Deterministic games use seed and short move strings for networking"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}