Accedi
IT
games/webrtc-demo / README.md · commit 87ad512
# WebRTC – example gameThe example game of the JumPHP engine extension **jumphp/webrtc** (peer-to-peer data channels from PHP, in the browser and on the desktop):- **Two peers on this screen**: two WebRTC connections of the game talk through a reliable channel (PING / PONG, round trip) and an unreliable one (the cursor).- **Practice against a bot** / **Play online (2 players)**: a star-catching duel; the host runs the rules, the other side plays peer to peer.Play it: https://jumphp.net/webrtc-demo — 14 languages. `bin/jumphp test webrtc-demo`, `bin/jumphp shot webrtc-demo`. Notes: `AGENTS.md`.