โลกบล็อกซ์ 2 มิติ
Loading...
Online Multiplayer Test (PeerJS)

Serverless Multiplayer Test

Node.js servers (`require("ws")`) don't run in this environment. Instead, I converted your code to use PeerJS, which connects browsers directly via WebRTC!

Or join a friend:

Waiting to host or join...

Use arrow keys to move your red square. Blue is the other player.