What OpenGame gives a game
- Hosting. Each deploy makes a release with a private preview that only your account can play. Players keep the live release while you deploy the next one, and you can make an earlier release live again.
- A CLI and skills for coding agents.
opengamebuilds, checks and uploads your game, and when a check fails it says what it saw, where, and the smallest fix.opengame setupinstalls the OpenGame skills for Claude Code, Codex, Cursor and OpenCode, and the CLI keeps them current. - The SDK.
@opengamehq/sdktells your game who is playing, and gives it leaderboards, achievements, events, the player’s OG character and OG Radio. - Multiplayer. Bring your own game servers, or connect players peer to peer, from any engine. Invite links open your game on OpenGame and put a friend in your lobby.
- Discovery. A published game gets a page on opengame.io and a place in the games gallery, where players find it, play it and share it.
- Analytics. Players, plays and playtime for each game you own, week by week, from
opengame statsor the analytics API. - Any engine with a web export. Three.js, Unity, Godot, Kaigen, any JavaScript engine, and WebAssembly from C, C++, Rust, Zig or Go.
How do I deploy a game to OpenGame?
Install the CLI, sign in withopengame login, and run opengame deploy . in your game’s folder. The CLI builds the game, checks it and uploads it, then gives you the address of its private preview.
How do I use OpenGame with a coding agent?
Runopengame setup after installing the CLI to give your agents the OpenGame skills, or opengame skills add . in your game’s folder to commit them with the game, then ask your agent to deploy it. For agents is the procedure it follows, and the CLI reference lists every command and JSON event it reads.
How do I use the OpenGame SDK?
Add the SDK to your game.og.player then holds the player’s per-game ID, handle and sign-in state. Connect the SDK covers the rest, and the SDK reference lists every export.
How do I add multiplayer?
Bring your own game servers. OpenGame runs none, and your game can connect to any server a browser can reach, in any engine: your own server in Node, Go or Rust, Colyseus, Nakama, Photon or a hosted fleet over WebSocket (wss://), WebTransport or HTTPS, or other players’ browsers peer to peer over WebRTC. A browser cannot open raw UDP or TCP sockets, so Unity, Godot and Unreal web builds use their WebSocket or WebRTC transports.
OpenGame adds the invite link. Share the game’s OpenGame page with the lobby code in it: og.invite.link(code) makes that link, and og.invite.code gives the code to the friend who opens it. Kaigen has multiplayer built in and doesn’t read og.invite.code yet, so a Kaigen game’s players join through Kaigen Online: see Kaigen. Set players in opengame.json so the game page shows “2–8 players · private lobbies” or “2–16 players · online”. Multiplayer covers each engine, your server’s settings and how to identify players.
How do I update a live game?
Runopengame deploy . again from the same folder. Players keep the live release until the new one goes live. Update a live game covers linking a fresh checkout and deploying from CI.
Where next
Quickstart
Install the CLI and deploy your first private preview.
Engines
Export settings and SDK setup for each engine.