mirror of
https://github.com/logsol/chuck.js.git
synced 2026-06-25 16:42:34 +00:00
A fantastic multiplayer action browser game
http://chuck-game.tumblr.com
The reconciliation system caused visible teleportation at high latency (e.g. 250ms Germany→Korea): position corrections snapped the local player and thrown items back to stale server states. - Drop the inputAck/seq tracking, InputBuffer, and applyReconciliation. The client predicts locally and the server stays authoritative via the existing worldUpdate broadcast; own-doll updates remain ignored. - Override Item.setUpdateData on the client so in-flight items run free on local Box2D physics (client and server share the same throw impulse) and only sync when stationary or far out of sync. This keeps grab-sensor contact accurate while eliminating mid-flight snapping. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| app | ||
| config | ||
| lab | ||
| poc-webrtc | ||
| scripts | ||
| snippets | ||
| static | ||
| .floo | ||
| .gitignore | ||
| channel.js | ||
| client.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.js | ||
chuck.js
Physical JavaScript Action Browser Multiplayer Game - it will be awesome!
Follow the development at http://chuck-game.tumblr.com/
How to run:
git clone https://github.com/logsol/chuck.js.gitcd chuck.jsnpm installnode server.js [port] [log level]
Open in browser http://localhost:1234
This game is licensed under the GPLv3 licence http://www.gnu.org/licenses/gpl-3.0.html