This skill is designed for users looking to integrate their games with Play.fun or retrieve data from the platform. It's useful for guiding users through various workflows associated with Play.fun.
$ npx skills add https://github.com/opusgamelabs/skills --skill playdotfunThe playdotfun skill enables seamless integration between your games and the Play.fun platform. It provides tools for retrieving platform data and managing game-related workflows on Play.fun. This skill is ideal for developers and users who need to connect their gaming applications with Play.fun's ecosystem. Created and maintained by opusgamelabs, it streamlines the process of working with Play.fun's game integration features.
Install using the command provided and refer to individual skill pages for detailed use cases.
Connect games to Play.fun
Retrieve game data from Play.fun
Guide users through Play.fun workflows
Implement game features using Play.fun
$ npx skills add https://github.com/opusgamelabs/skills --skill playdotfungit clone https://github.com/opusgamelabs/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Help me integrate my [GAME NAME] game with Play.fun or retrieve data from the platform. I need to [SPECIFIC ACTION: e.g., 'upload my game assets,' 'check my game's performance metrics,' 'connect my game to Play.fun's API,' or 'troubleshoot a sync issue']. Provide step-by-step guidance, including any required tools, APIs, or Play.fun features I should use. [GAME NAME] is a [BRIEF DESCRIPTION OF GAME, e.g., '2D platformer with multiplayer support'].
### Integrating Your Game with Play.fun: Step-by-Step Guide
**Step 1: Prepare Your Game Assets**
Ensure your game files (e.g., `.exe`, `.apk`, or web build) are optimized for Play.fun. Compress large assets and verify compatibility with their [supported formats](https://docs.play.fun/supported-formats). For *Pixel Quest* (a 2D platformer), we recommend using a `.zip` file with a max size of 500MB.
**Step 2: Create a Play.fun Developer Account**
Sign up at [play.fun/developers](https://play.fun/developers) using your [COMPANY] email. Navigate to the *Dashboard* > *Games* > *Add New Game* and fill in:
- Game Title: *Pixel Quest*
- Genre: *Platformer*
- Upload your `.zip` file under *Game Files*
**Step 3: Configure API Access (If Needed)**
If you’re using Play.fun’s API for leaderboards or multiplayer, generate an API key in *Settings* > *API Keys*. For *Pixel Quest*, add this key to your game’s backend to sync high scores:
```javascript
const playFunAPI = "YOUR_API_KEY_HERE";
fetch(`https://api.play.fun/v1/games/pixel-quest/scores`, {
headers: { "Authorization": `Bearer ${playFunAPI}` }
});
```
**Step 4: Test and Publish**
Use Play.fun’s *Test Mode* to verify integration. For *Pixel Quest*, simulate a player completing a level and check if the score appears in the *Leaderboard* tab. Once confirmed, click *Publish* to make your game live on the platform.
**Troubleshooting:**
- If assets fail to upload, reduce file size or re-export in a supported format.
- For API errors, double-check your key permissions in the Play.fun dashboard.Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan