mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
A fantastic multiplayer action browser game
http://chuck-game.tumblr.com
Self-contained test under poc-webrtc/ that does not touch the game. Spins up an Express + WebSocket signaling + node-datachannel server alongside a Socket.IO server, serves a simple browser client that runs the same game-like traffic pattern (14Hz worldUpdates, input events, ping/pong) over either transport based on a URL flag. Captures per-session stats to a JSONL file and ships an analyze.js that prints a per-(transport, phase) summary of RTT percentiles, receive rate, and seq-gap counts so the TCP-vs-UDP-style comparison becomes quantitative rather than eyeball. Confirms node-datachannel installs and works on this platform and that the dual-channel (reliable + unreliable) pattern is feasible to maintain — both prerequisites for the real integration. |
||
|---|---|---|
| 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