Monetize your vibecoded games

Vibe code a game with AI. Install one skill. Your players earn real token rewards. That's it.

$ npx skills add playdotfun/skills

Click to copy

Works with 40+ AI agents including Antigravity, Claude Code, Cursor, Codex, Copilot, Cline, Windsurf, and more


Three steps to a monetized game

From prompt to earning in minutes, not days.

1

Vibe code your game

Use any AI coding agent to build a game — a clicker, platformer, puzzle, whatever. Or bring one you already have.

2

Install the skill

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.

3

Players earn tokens

Your game is live on Play.fun. Players earn Playcoins — real Solana tokens — just by playing. You launch a token, they earn rewards.


Why this exists

Vibecoding made games easy to build. This makes them easy to monetize.

Your AI already knows how

The skill loads SDK docs, code patterns, and API references directly into context. Your agent writes the integration code for you.

🤖

30+ MCP tools built in

Register games, track points, launch tokens, check leaderboards — your agent does it all through the Play.fun MCP server without leaving your editor.

💻

Works with any game

Vanilla JS, React, Phaser, canvas — if it runs in a browser, it works. Production-ready snippets for every framework.

🔒

Anti-cheat included

Server-side validation, score limits, session caps. Real token rewards need real security — the skill knows the right patterns.

🚀

Deploy for free

Built-in GitHub Pages deployment. Go from local game to a live play.fun URL in one command.

🎮

Launch your own token

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.


Pick how deep you want to go

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>

What your agent gets when you install

Everything it needs to monetize your game without you reading a single doc.

📖 API Reference
🔐 Auth Guide
Server SDK
🌐 Browser SDK
🔄 Hybrid SDK
Best Practices
🔌 MCP Quickstart
📝 Glossary
💻 Code Snippets
🔧 Utility Scripts
🚀 Deploy Guide
🛠 Rules & Guards

Manual install

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