For web games, especially the ones you vibe-coded

Players share the moment, not a video.

Moments turns any moment in your web game into a link. A friend taps it in WhatsApp or X and plays that exact moment in their browser, with the same luck, then sends it back.

No download for players. No server for you. One script and three small functions, which Claude can write for you.

V
Vamsionline

Block Moments: I scored +40 in 3 moves 🎮 Bet you can't beat it.

Vamsi challenged youBeat +40 in 3 moves
Vamsi challenged you in Block MomentsTap to play this exact moment, no download
9:41
beat it with +52 😎 sent it back
How it works

Every share is a playable ad for your game.

The SDK quietly keeps the last few seconds of play as game state, not video. That's why the link can drop your friend into the real game at that exact instant.

1

Play

Something great happens: a triple combo, a near miss, a heartbreaking loss. Your game calls Moments.highlight() and the player gets a nudge to share.

2

Share

One tap makes a link with a preview of that moment. WhatsApp, X, Discord or iMessage show who sent it and the score to beat.

3

Your friend plays

Same board, same enemies, same luck. 3, 2, 1, go. Beat the score, send it back, or keep playing the full game.

Add it to your game

Paste one line into your AI.

Moments is built to be added by Claude, Cursor or any coding agent. The guide tells the agent exactly what to write, and a built-in self-test tells it exactly what to fix.

Paste this into Claude Code, Cursor, Lovable or Bolt
Add Moments to my game. Follow /llms.txt
Or install the Claude Code skill
mkdir -p ~/.claude/skills/moments && curl -fsSL /skill/SKILL.md -o ~/.claude/skills/moments/SKILL.md
What your game ends up with
<!-- first script on the page --> <script src="/sdk/v1/moments.js"></script> Moments.init({ game: 'Sky Hop', getState: () => playing ? { bird, pipes, score } : null, setState: s => { ({ bird, pipes, score } = s); playing = true; }, getScore: () => score, }); // when something great happens / when the run ends Moments.highlight('Near miss!'); Moments.gameOver();
Built for small teams

Distribution for games made in a weekend.

🧩

Any web game

Canvas, WebGL, Three.js, Phaser, PixiJS, Kaplay, plain JavaScript or HTML. Games on requestAnimationFrame or timers.

🎲

Same luck, every time

Randomness and the clock are recorded with the moment, so the friend faces exactly what you faced, on any device.

🩺

A self-test your AI can read

Open your game with ?moments-selftest. It replays the same second twice and names the exact field that's missing.

⚡

No server, no cloud GPUs

The moment runs in the friend's own browser. You host your game wherever you like; Moments hosts the links and previews.