Multiplayer banner
Lrosias Lrosias

Multiplayer

Development community

Description

--- description: Add YouGame online multiplayer (beta) to this game --- Add YouGame online multiplayer to the game in this project, following the `yougame-sdk` skill and the Multiplayer section of https://yougame.co/sdk.md. Add an "Online" option that calls `YouGame.multiplayer.findMatch({ players: 2, mode: "duel" })`, use the host-authoritative pattern, start every round from the room's `ready` event (it covers rematches — do not write your own handshake), call `room.finish({ winner })` on ev

Installation

Installs to ~/.claude/skills/lrosias-yougame-plugin-multiplayer/SKILL.md

Terminal
mkdir -p ~/.claude/skills/lrosias-yougame-plugin-multiplayer && curl -fsSL https://raw.githubusercontent.com/Lrosias/yougame-plugin/HEAD/commands/multiplayer.md -o ~/.claude/skills/lrosias-yougame-plugin-multiplayer/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository