flip-game
Flip: Game
Start here for any Flip game. Flip runs browser games made with your own coding agent. The Flip CLI uploads builds directly to Flip, and only the creator publishes. Load the focused skills as you need them:
| Need | Skill |
|---|---|
| Create the draft, push, review, ask the creator to launch | flip-publish |
Browser bridge, controls, ctx.sdk calls, results, hooks, test bridge |
flip-game-sdk |
| What review accepts and rejects | flip-submission-rules |
| 2D starter | flip-phaser-starter |
| 3D starter | flip-threejs-starter |
| Load time, size, phone budget, audio | flip-asset-budget |
| flip-test.json and the automatic playtest | flip-playtest |
| Stakes, payouts, randomness, paytables | flip-economy |
Choose the technology that suits the game. The starters are three.js (flip init --template three, Flip's pinned ./flip-three-0.180.0.js) and Phaser 4.2.1 for 2D (--template phaser, ./flip-phaser-4.2.1.js, Phaser guide); Flip serves both, so never commit them. Godot 4.7.2 support is experimental, primarily for existing Godot projects (--template godot, Godot guide). Canvas, DOM, WebGL and other engines that pass review remain fine. Flip's pinned three.js supports WebGL2 only; WebGPURenderer is not available. Only Flip's approved engine WebAssembly is accepted. Flip's page owns controllers and the on-screen pad: handle flip.on('input') (controls). Multiplayer uses ordered authoritative actions and shared state; this does not force turn-based gameplay. Continuous movement can use game-defined sequenced inputs, server acknowledgements and visual prediction/reconciliation (see the runtime guide). Money, authoritative randomness and multiplayer authority stay in the server handler and Flip's SDK.