examples/multiplayer-game-vercel/README.md
Note: This is the Vercel-optimized version of the multiplayer-game example. It uses the
hono/verceladapter and is configured for Vercel deployment.
A real-time Agar.io style arena showing a matchmaker coordinator and GameRoom data actors.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/multiplayer-game
npm install
npm run dev
@rivetkit/react hooks for actions and event subscriptionssrc/actors.ts): Coordinator actor for room discovery plus GameRoom state and physicssrc/server.ts): Hono server exposing the Rivet Actor handlerfrontend/App.tsx): Canvas rendering, input handling, and leaderboard UIRead more about design patterns, actions, events, and state.
MIT