بنقرة واحدة
add-deeds
Generate interesting gameplay statistics (deeds) sent on game completion
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate interesting gameplay statistics (deeds) sent on game completion
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create app metadata, thumbnail, and offline configuration for the Puzzmo platform
Wire up game completion signaling to the Puzzmo host
Integrate the Puzzmo SDK into a Vite game project for host communication
Configure the Puzzmo CLI for uploading game builds
Edit the `integrations` block in puzzmo.json (leaderboards, notables, etc.) using live game context from the dev.puzzmo.com MCP
Add integrations to puzzmo.json with leaderboard configuration using deeds
| name | add-deeds |
| description | Generate interesting gameplay statistics (deeds) sent on game completion |
Deeds are interesting statistics about a gameplay session. They're sent on completion and used for leaderboards, achievements, and social sharing.
Identify 3-6 interesting metrics from the game. Good deeds are things like:
Track these metrics during gameplay. Add counters/trackers to the game state.
On completion, include deeds in the gameCompleted call via the config parameter:
sdk.gameCompleted(gameplayMetrics, {
deeds: [
{ id: "moves", value: totalMoves },
{ id: "accuracy", value: Math.round((correctMoves / totalMoves) * 100) },
{ id: "streak", value: longestStreak },
{ id: "items-found", value: itemsFound },
],
})
Deed IDs should be:
The SDK automatically adds points and time deeds - you don't need to add those.
Also send deeds during checkpoints if the game has intermediate milestones:
sdk.hitCheckpoint(
"level-complete",
{
interruptible: true,
complete: false,
process: [],
},
{
deeds: [{ id: "items-found", value: itemsFound }],
},
)
build script completes without errorsgameCompleted