Community程式設計與開發github.com

rivet-dev/multiplayer-game

構建多人遊戲的實用模式:配對、滴答循環、實時狀態、興趣管理與驗證。

multiplayer-game 是什麼?

這項技能提供了一套實用的模式與指南,專注於協助開發者構建多人遊戲的後端與網絡部分。它涵蓋了從玩家配對、伺服器端的滴答循環(tick loop)、實時狀態同步、興趣管理(僅傳送相關實體資訊),到狀態輸入驗證等關鍵主題。此技能主要支援基於 Rivet 平台的遊戲開發流程,並可與 Claude Code 或其他支援 SKILL.md 的 AI 代理工具整合使用。文件中包含清晰的架構描述、範例程式碼(如 Rust 與 TypeScript)以及最佳實踐,幫助開發者快速上手並避免常見陷阱。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rivet-dev/skills/tree/main/skills/multiplayer-game

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

multiplayer-game 是做什麼的?

構建多人遊戲的實用模式:配對、滴答循環、實時狀態、興趣管理與驗證。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

rivet-dev/rivetkit

RivetKit backend and Rivet Actor runtime guidance. Use for building, modifying, debugging, or testing Rivet Actors, registries, serverless/runner modes, deployment, or actor-based workflows.

rivet-dev/rivetkit-client-javascript

RivetKit JavaScript client guidance. Use for browser, Node.js, or Bun clients that connect to Rivet Actors with rivetkit/client, create clients, call actions, or manage connections.

rivet-dev/rivetkit-client-react

RivetKit React client guidance. Use for React apps that connect to Rivet Actors with @rivetkit/react, create hooks with createRivetKit, or manage realtime state with useActor.

rivet-dev/rivetkit-client-swift

RivetKit Swift client guidance. Use for Swift clients that connect to Rivet Actors with RivetKitClient, create actor handles, call actions, or manage connections.

rivet-dev/rivetkit-client-swiftui

RivetKit SwiftUI client guidance. Use for SwiftUI apps that connect to Rivet Actors with RivetKitSwiftUI, @Actor, rivetKit view modifiers, and SwiftUI bindings.

rivet-dev/sandbox-agent

Deploy, configure, and integrate Sandbox Agent - a universal API for orchestrating AI coding agents (Claude Code, Codex, OpenCode, Amp) in sandboxed environments. Use when setting up sandbox-agent server locally or in cloud sandboxes (E2B, Daytona, Docker), creating and managing agent sessions via SDK or API, streaming agent events and handling human-in-the-loop interactions, building chat UIs for coding agents, or understanding the universal schema for agent responses.

相關技能