press5 Play runs the server side of your game. Pick one of our engines for action, board or party games, send the players' inputs, and draw what comes back. No game server to write.
Paste this into your AI tool:
Prompt
Make this a multiplayer game with press5 Play. Read https://my.press5.xyz/docs/multiplayer first, use one of press5's server engines if it fits, then deploy it to the Press5 launch pad and give me the live link.
Free for now with a press5 account, no card. Up to 64 players a room.
Choose an engine in press5.game.json and every room of your game runs on it. Your game only sends inputs and actions. No code from your game ever runs on press5: the engine is ours, you set it up.
Real-time action
Arena
"engine": "arena"
Top-down, or side-on with gravity: movement, walls, projectile and hitscan weapons, pickups, teams and rounds.
Your own movement is predicted, so it feels instant
Hitscan shots are rewound to what the shooter saw
Fast datagrams when the network allows
Board and card games
Turns
"engine": "turns"
Rule packs for connect four style games, tic-tac-toe, reversi, checkers, a free grid and a card table with hidden hands.
Turn order, a turn clock and resigning
Rematches and spectators
Illegal moves are refused, with the reason
Quiz and poll rounds
Party
"engine": "party"
Room-code party games for friends on their phones. The questions live on the server, so nobody sees the answers early.
The host starts and restarts rounds
Answers are scored on the server
A reveal after every question
Any other game
Relay Rooms
The original press5 Play rooms still work as they always have. Players share state and messages, one player is the host and runs the rules, and if they leave the next one takes over straight away. Good for casual games that don't fit an engine.
game.js (relay room)
const room = await play.quickMatch({ maxPlayers: 8 });
room.setMyState({ x, y }); // everyone sees it
room.onMessage('shoot', (data, from) => spawnBullet(data, from.id));
for (const p of room.others()) draw(room.smoothState(p.id));
Try it
Feel What the Netcode Does
A little shooting range with a pretend server and real lag. Pick an engine and watch how it decides what counts as a hit.
Loading the range…
A bot is playing · click to aim yourself · Esc to stopDrag to aim · it fires by itself
Made for 2D browser games: one circle per player, clocks synced with the server, shots rewound up to 200 ms.
What you saw–What the server checked–
Last shot
Waiting…
The bot fires every couple of seconds. Each shot shows up here.
Waiting for the first shot.
›How it works, one idea at a time
These use tight capsule hitboxes on any engine, so a shot that lag pushes off the body really misses.
No tricks
Nothing hides the lag. You move when the server says so, the dummy jumps between updates, and each shot is judged against where the dummy is when it arrives. Watch the Robbed count climb.
Move at once
Your own moves show straight away, and the server only corrects you if it disagrees. Click the screen, walk with WASD, and flip it off to feel the delay.
Smooth the target
The dummy is drawn a little in the past so it glides between updates. But that makes your picture older, so even more shots get robbed.
Rewind the shot
The server rewinds the dummy to what your screen showed before it checks. The pink posts are the server's record it rewinds through.
›Settings
Updates/s
How Real Shooters Do It
Every fast online game picks a hitbox shape, an update rate and a way to deal with lag.
Game
Hitbox shape
Updates a second
What it does about lag
Quake III Arena
One big box
20
Doesn't. You aim ahead of moving players by your ping.
Team Fortress 2
A box on each bone
66
Rewinds players to what you saw, up to a second back.
CS:GO
A capsule on each limb
64
Rewinds players to what you saw.
Counter-Strike 2
A capsule on each limb
64
Rewinds, and times each shot to the exact moment between updates.
VALORANT
Not published
128
Very fast updates, so a player peeking a corner gets less of a head start.
Overwatch
Not published
60
If it hit on your screen, it usually counts.
Rust
One per body part
Set by each server
Your game decides the hit. The server checks it was possible.
press5 Play arena
One circle per player (2D games)
30 (10 to 60)
Rewinds players to what you saw, up to 200 ms back, with clocks synced so others are only 100 ms behind.
Nothing in the demo touches the network. The engines are simplified to what they've published, and where a number isn't published (marked *) the demo picks a likely one. Game names belong to their owners.
Built for Fast Games
The hard parts of netcode, done once and shared by every game on the launch pad.
🎯
Prediction and Lag Compensation
In the arena, your own player moves the moment you press a key, others are drawn smoothly between updates, and the server rewinds hitscan shots to what your screen showed, so a hit you saw is a hit.
⚡
Fast Datagrams
In the arena, inputs and game state travel over UDP, or WebTransport in the browser, so one lost packet never holds up the next. The WebSocket stays open as the fallback.
🏆
Leaderboards
Every engine game gets a leaderboard for all time, the week and the day. Only our engines write to it, so nobody can post a fake score.
🛡️
Hard to Cheat
The server runs the rules, not the page. Editing the game in the browser gets a player nowhere, and hidden cards and quiz answers stay hidden.
🔑
Quick Match and Room Codes
One call drops a player into a room with space. Or make a private room and share its five-letter code. Rated games pair players of a similar skill.
📶
Reconnects
A dropped player keeps their seat for 30 seconds and the SDK rejoins by itself. Rooms carry on through server restarts too.
How Your AI Uses It
Three steps, all of which your AI can do on its own. You just play the result.
1
Pick an engine
Put a press5.game.json next to index.html with a "server" block. The engine is ours; the file only chooses it and sets the rules: the map, the weapons, the board, the questions.
const play = await Press5Play.connect({ name });
const room = await play.quickMatch();
// Every frame: send your controls, draw what comes back.
room.setInput({ mx, my, ax, ay, fire: mouseDown });
drawMe(room.mine()); // you, predicted: no waiting
room.entities().forEach(draw); // everyone else, smoothed
room.on('ko', d => feed(d.by + ' got ' + d.t));
game.js (turns, party)
// Turns and party: send an action, draw the view.
await room.act('move', { x: 3 }); // refused if it isn't your turn
room.on('state', () => drawBoard(room.view));
3
Deploy it
Publish with the CLI, or let your AI do it through the Press5 MCP server. The rooms work on the first deploy.
Command line
npx @press5/cli deploy ./dist
Or add the MCP server (Claude Code)
claude mcp add --transport http press5 https://my.press5.xyz/mcp
Every engine setting, its default and its limit, is in the guide at my.press5.xyz/docs/multiplayer, written so a model can follow it.
SDKs for Your Engine
Every SDK speaks the same protocol, with the same calls in its own language's style and the same arena prediction, so a browser player and a desktop player can share a room.
JavaScript
One script tag. Any browser game: plain canvas, Phaser, three.js and the rest.
WebTransport datagrams where the browser has them
Godot
An addon for Godot 4.2 and newer. Web exports deploy to the launch pad like any site.
UDP datagrams in native builds
Unity
A package for Unity 2021.3 and newer, for native and WebGL builds.
UDP natively, WebTransport in WebGL
Unreal
A plugin for Unreal Engine 5.3 and newer, with Blueprint nodes.
Beta: UDP datagrams
Native builds identify the game with a free game key. Writing your own client? The protocol is plain JSON over a WebSocket, with optional datagrams.
Start From a Working Game
One template for each kind of room. Play the demo, then copy it to the launch pad and make it yours.
Arena engine
Ember Brawl
Move, shoot, grab orbs and win the round. A server-run arena with two weapons and medkits.
No plan to pick and no card to add. Every game on the launch pad gets the same generous limits.
64
players a room
From a 1v1 duel to a crowded arena.
300
online per game
Across all of a game's rooms at once.
£0
a month
Multiplayer is free while it is new.
Want cheaters kept out too?
Every game gets free hard limits on speed, values and message rates. press5 Guard, our hosted anti-cheat, is still in testing (not on sale yet), and spots aimbots, triggerbots and autoclickers.