2 pointsby mendrugory5 hours ago1 comment
  • mendrugory5 hours ago
    Hi,

    I built Naiply, a browser-based multiplayer platform for traditional Spanish card games like Brisca and Tute. It’s built entirely with Phoenix LiveView — no SPA frontend, minimal JavaScript. All game state lives on the server. Some interesting challenges: Handling real-time turn synchronization Preventing race conditions in trick resolution Designing the bidding (puja) AI for Tute Subastado Managing latency without client-side prediction Keeping the UI reactive with server-driven updates One particularly tricky part was designing a bidding algorithm that estimates expected trick value before trump is chosen. Happy to answer technical questions — especially about architecture decisions.

    https://naiply.com