| jWebSocket Client Gaming | ![]() |
Client‑Id: - |
This demo shows how to implement a pure client based game without any server side plug-in. Events like key strokes or mouse clicks on a client are distributed to all other clients, e.g. to synchronize the location of a certain player on a common playgroud. This demo uses the standard broadcast and event mechanism only which is already provided by jWebSocket's SystemPlugIn. If you are not sure whether your favorite browser supports WebSockets please refer to our jWebSocket Cross-Browser Compatibility page.
| Username | Keep-Alive Debug |
Please login to start as a green player, if other players are online they are shown in red.
Use the arrow keys to move your player and broadcast your move to other users.