Urgent.News

What's breaking now, across thousands of outlets.

Tech

Multiplayer card and puzzle games with no WebSockets: a 6-letter link, a shared seed and a 1-second heartbeat

I build NitroPlayer , a site of classic browser games: Solitaire, Sudoku, Mahjong, FreeCell, Checkers, Hearts and so on. A lot of our players are 45+, and the feature they use most is not a fancy one. It's this: send a link to your sister, your grandson or a coworker, and you both play the same game at the same time. No app, no account, no lobby to understand. Tap the link, play. When I started,…

NitroPlayer is a website featuring classic browser games like Solitaire, Sudoku, Mahjong, FreeCell, Checkers, and Hearts, catering to an older demographic. The most popular feature among players is the ability to play the same game simultaneously with others using a simple link. The system doesn't require any advanced technology like WebSockets or real-time servers.

Instead, it employs a private match code, shared seed, and 1-second heartbeat to enable multiplayer experiences. The 6-character code ensures a unique match, while the seed guarantees identical game setups for both players. The server only sends a small integer payload, keeping communication lightweight, and players send progress updates every second.

A 1-second heartbeat replaces traditional socket communication, allowing for seamless gameplay even with minor latency. The server handles the game clock, results, and cleanup, making the system stateless and cacheable. No additional infrastructure is needed, as it operates on the same PHP-FPM pool as the rest of the site. The design prioritizes simplicity and ease of use, with codes crafted for human readability.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

AI in the Charts 2026: How Algorithms Dominate Spotify and Billboard

AI in the 2026 Music Charts: How Artificial Intelligence is Dominating Spotify, Apple Music, and Billboard Introduction Artificial intelligence is no longer just a topic of fiction: 32% of the tracks…

  • IA dominates top-10 spots on Spotify and Billboard by 2026.
  • Searches for "music AI" and "create music with AI" increased 250% in last 30 days.
  • Guide covers AI's influence on charts, compares music generation tools, and provides tutorial.

Our healthy shopping row is never green, and its off switch is an empty array

Munchable's result screen, after you scan something, is a stack of rows. Some are about the conditions you told it you have . Some are about allergies.

  • Healthy shopping row lists ingredients to avoid, no cautionary statement
  • Allergy row includes permanent caution about allergens
  • Distinct visual cues differentiate row types for clarity

More from Saturday 24 October →