Multiplayer platform

Belot Arena

Online platform for the Croatian card game Belot with a ranked system, real-time multiplayer logic, and weekly seasons.

50k+

lines of code

Edge

architecture

View live

Tech stack

  • TypeScript
  • React 19
  • Cloudflare Workers
  • Durable Objects
  • WebSockets
  • Neon PostgreSQL
  • Hono
belot-frontend.deosijek.workers.dev
Belot Arena — screenshot

Problem

Belot without a proper online platform

Belot is the most popular card game in the region, but existing solutions suffer from lag, dropped connections, and poor synchronization. No quality online platform with fair rules and a competitive system existed.

Solution

Server-authoritative edge engine

Each table is a separate Durable Object instance holding the authoritative game state. Clients send commands, receive snapshots. Anti-cheat system, disconnect grace period, ranked seasons with weekly resets.

Result

50k+

lines of code in production

Edge

architecture without a dedicated server

<10ms

latency on Cloudflare edge network

Arhitektura

Frontend

React client

Edge

Durable Object

Database

Neon PostgreSQL

Technical decision

Why Cloudflare Durable Objects instead of a classic server?

Each game table requires authoritative state synchronized in real-time for all players. Durable Objects gives us one instance per table living on the edge network — minimal latency without needing custom infrastructure or server scaling.

Digitalni Most
01
Digitalni Most
02
Digitalni Most
03

Expertise

What this project demonstrates

Belot Arena is not just a card game. It is an example of a complex web application running in real time.

Real-time communication

WebSocket architecture with an authoritative server enables instant state synchronization for all players — without lag that undermines trust in the system.

User accounts

Registration, profiles, statistics, and game history — everything a complex web application needs for retention and long-term engagement.

Leaderboards and seasonal systems

ELO rating, weekly seasons, and leaderboards show how to build systems that motivate users and grow a community around the product.

Multiplayer logic

Game rules, move validation, and table management require precise business logic — the same approach applies to any complex workflow.

Anti-cheat mechanisms

Server-side validation of every move protects system integrity. In business applications, that means reliable data and rules that cannot be bypassed.

Cloud infrastructure

Edge architecture on the Cloudflare network — no dedicated servers, automatic scaling, and latency under 10 ms for most of Europe.

Related projects

More business systems

Eventis

SaaS platform

Eventis

All-in-one system for event photographers — from inquiry to gallery delivery.

View project
Appointment management system

Booking system

Appointment management system

Online reservations, staff calendar, and CRM records for service businesses.

View project
Next step

Have a project or idea? We'll build exactly what you need.

Let's talk