The multiplayer message bus for the NexSDS Arcade. It isn't a game — it's the service that games use: share a 6-character room code and send/receive messages.
<script src="https://net.arcade.nexsds.com/arcanet.js"></script>
<script>
const net = await ArcadeNet.host('mygame', { name, maxPlayers: 2 });
// or: ArcadeNet.join(code, { name })
net.on('message', (from, payload) => { /* … */ });
net.send({ type: 'move', col: 3 });
net.code; // share this
</script>
Reusable UI hosted right here, so every game looks & behaves alike. Add a
<script> tag and call one function.
<!-- lobby: name · host · join-by-code · vs-computer
· live list of open games (click to join) · shared lobby chat -->
<script src="https://net.arcade.nexsds.com/arcade-lobby.js"></script>
ArcadeLobby.mount({
game: 'mygame', title: 'My Game', maxPlayers: 2, solo: true,
extras: myCustomControls, // optional game-specific bits
onSolo: () => startSinglePlayer(),
onStart: (net) => beginGame(net), // gets a live connection
}); // open-games list + lobby chat are on by default (social: false to disable)
<!-- in-game chat (uses a "_chat" message, kept off your 'message' handler) -->
<script src="https://net.arcade.nexsds.com/arcade-chat.js"></script>
ArcadeChat.attach(net, { name }); // ArcadeChat.detach() when leaving
First game using it → connect4.arcade.nexsds.com · live status · ← Arcade