Vibe code a game with AI. Install one skill. Your players earn real token rewards. That's it.
Click to copy
Works with 40+ AI agents including Antigravity, Claude Code, Cursor, Codex, Copilot, Cline, Windsurf, and more
From prompt to earning in minutes, not days.
Use any AI coding agent to build a game — a clicker, platformer, puzzle, whatever. Or bring one you already have.
One command gives your AI agent everything it needs — SDK docs, code snippets, deployment guides. Just say "monetize my game" and it handles the rest.
Your game is live on Play.fun. Players earn Playcoins — real Solana tokens — just by playing. You launch a token, they earn rewards.
Vibecoding made games easy to build. This makes them easy to monetize.
The skill loads SDK docs, code patterns, and API references directly into context. Your agent writes the integration code for you.
Register games, track points, launch tokens, check leaderboards — your agent does it all through the Play.fun MCP server without leaving your editor.
Vanilla JS, React, Phaser, canvas — if it runs in a browser, it works. Production-ready snippets for every framework.
Server-side validation, score limits, session caps. Real token rewards need real security — the skill knows the right patterns.
Built-in GitHub Pages deployment. Go from local game to a live play.fun URL in one command.
Create a Playcoin for your game — a Solana token on a bonding curve. Players earn it, trade it, hold it. Your game has its own economy.
Quick prototype? Drop in the Browser SDK. Serious game? The skill guides your agent to use the Server SDK with proper anti-cheat.
| Scenario | SDK | |
|---|---|---|
| Your game is ready for real players & real tokens | Server SDK | Recommended |
| You want security + the Play.fun leaderboard widget | Hybrid (Server + Browser) | Recommended |
| You just vibecoded something and want to try it out | Browser SDK | Fastest |
import { OpenGameClient } from '@playdotfun/server-sdk'; const client = new OpenGameClient({ apiKey: process.env.OGP_API_KEY, secretKey: process.env.OGP_API_SECRET_KEY, }); await client.play.savePoints({ gameId: 'your-game-uuid', playerId: 'player-123', points: 100, });
<!-- Add to your HTML --> <meta name="x-ogp-key" content="YOUR_CREATOR_ID" /> <script src="https://sdk.play.fun"></script> <script> const sdk = new OpenGameSDK({ ui: { usePointsWidget: true }, }); sdk.on('OnReady', () => console.log('Ready!')); sdk.init({ gameId: 'your-game-uuid' }); // During gameplay: sdk.addPoints(10) // At game over: sdk.savePoints(totalScore) </script>
Everything it needs to monetize your game without you reading a single doc.
Prefer to skip the CLI? Clone the repo directly into your agent's skills directory.
# Workspace scope (this project only) mkdir -p .agent/skills git clone https://github.com/playdotfun/skills .agent/skills/playdotfun # Global scope (all projects) mkdir -p ~/.gemini/antigravity/skills git clone https://github.com/playdotfun/skills ~/.gemini/antigravity/skills/playdotfun
# Project scope mkdir -p .claude/skills git clone https://github.com/playdotfun/skills .claude/skills/playdotfun # Global scope mkdir -p ~/.claude/skills git clone https://github.com/playdotfun/skills ~/.claude/skills/playdotfun
# Project scope mkdir -p .cursor/skills git clone https://github.com/playdotfun/skills .cursor/skills/playdotfun # Global scope mkdir -p ~/.cursor/skills git clone https://github.com/playdotfun/skills ~/.cursor/skills/playdotfun
# Works with any agent — drop into .agents/skills/ mkdir -p .agents/skills git clone https://github.com/playdotfun/skills .agents/skills/playdotfun