Usage
Points Flow
// 1. Add points during gameplay (accumulated locally, flushed incrementally)
sdk.addPoints(10);
// 2. End the game and save points (commits all accumulated points)
await sdk.endGame();Reading Points
const { points, activeMultiplier } = await sdk.getPoints();
console.log(`Today's points: ${points}, multiplier: ${activeMultiplier}x`);Rewards
UI Controls
Events
Last updated