TagBalls is live
8 Nov 2026
- We started TagBalls and put the first playable version online on the same day, 8 November 2026.
- The first playable build is team capture the flag in the browser, on 3 kinds of map: capture the flag, neutral flag and gravity.
- The server runs every game at 60 ticks a second and sends a binary snapshot each tick. The page predicts your ball with the same physics.
- We measured the physics from the classic game: acceleration 1.5 m/s², top speed 2.5 m/s and wall bounce 0.2.
- Every game is its own Durable Object, created in the region of its first player, in 1 of 5 regions.
A room that the server runs, one per Durable Object, costs almost nothing while empty and grows with players. Prediction keeps your own keys instant.
TagBalls is team capture the flag in the browser. Each player is a ball with real momentum. You speed up gradually, bounce off walls and other balls, and use boosts, bombs, portals and powerups to get around. Grab the other team’s flag and bring it home. Touch an enemy who is carrying your flag to pop them.
What the first build had
- Quick Play with a map rotation, private games with an invite link, spectating, overtime, chat and a scoreboard.
- Capture the flag, neutral flag, and gravity maps.
- Walls, 45° corners, spikes, boosts, bombs, powerups, buttons, gates, team speed tiles, end zones and portals.
- Bots that fill empty seats, always labeled as bots.
- Accounts with XP, levels, flairs, profiles and leaderboards.
- A map editor with live co-editing, import of maps in the classic format, and a community map library.
How it works
The physics is Box2D through planck.js, in fixed 60 Hz steps. The walls are traced into one continuous chain per outline, so balls slide along long walls without catching on the seams between tiles. We measured the numbers from the classic game in play: acceleration 1.5 m/s², top speed 2.5 m/s, damping 0.5 and wall bounce 0.2. A boost adds about 6.8 m/s.
The server is in charge. It runs every game at 60 ticks a second and sends a binary snapshot each tick. Your browser predicts your own ball with the same physics code the server runs, and then corrects it from each snapshot.
It runs on Cloudflare. One Durable Object holds the accounts. Every game gets its own Durable Object, created in the region of its first player: US West, US East, Europe, Asia Pacific or Oceania. Capacity follows the players, and an empty game costs almost nothing.
Since then