chore: multiplayer cookbook patterns#4261
Conversation
|
🚅 Deployed to the rivet-pr-4261 environment in rivet-frontend
|
PR Review: chore: multiplayer cookbook patternsThis is a large, well-structured refactor of the multiplayer game patterns example. The core change replaces token-based auth ( Issues
The function is copy-pasted into
The
const playerId = params.username ?? params.playerId;The client always sends
Under the old model
The palette in
The
After Nits
|
d8fec45 to
03653ea
Compare
03653ea to
9ce7640
Compare
9ce7640 to
f7908a3
Compare
94b5564 to
5a043e0
Compare
f7908a3 to
eaa242b
Compare
eaa242b to
9b21ae7
Compare
4ae8dab to
5a043e0
Compare
9b21ae7 to
16615f2
Compare
5a043e0 to
193d01e
Compare
193d01e to
26393b8
Compare
16615f2 to
04ec189
Compare
26393b8 to
dd75c7e
Compare
04ec189 to
8c9ac24
Compare
8c9ac24 to
16615f2
Compare
dd75c7e to
193d01e
Compare
| "uuid": "^12.0.0", | ||
| "vbare": "^0.0.4", | ||
| "wa-sqlite": "^1.0.0", | ||
| "@rivetkit/sqlite": "^0.1.0", |
There was a problem hiding this comment.
This dependency change from 'wa-sqlite': '^1.0.0' to '@rivetkit/sqlite': '^0.1.0' requires updating the pnpm-lock.yaml file by running 'pnpm install' locally to regenerate the lockfile with the new dependency resolution.
Spotted by Graphite Agent (based on CI logs)
Is this helpful? React 👍 or 👎 to let us know.
| "dependencies": { | ||
| "@rivetkit/bare-ts": "^0.6.2", | ||
| "wa-sqlite": "^1.0.0", | ||
| "@rivetkit/sqlite": "^0.1.0", |
There was a problem hiding this comment.
This dependency change from 'wa-sqlite': '^1.0.0' to '@rivetkit/sqlite': '^0.1.0' requires updating the pnpm-lock.yaml file by running 'pnpm install' locally to regenerate the lockfile with the new dependency resolution.
Spotted by Graphite Agent (based on CI logs)
Is this helpful? React 👍 or 👎 to let us know.
193d01e to
59dff12
Compare
16615f2 to
6e1a56c
Compare
6e1a56c to
459718a
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: