# WebSocket extension (experimental)

**URL:** https://forum.makecode.com/t/websocket-extension-experimental/4661
**Category:** Arcade
**Created:** [November 27, 2020, 1:41pm UTC](https://forum.makecode.com/t/websocket-extension-experimental/4661 "2020-11-27T13:41:24Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [November 27, 2020, 1:41pm UTC](https://forum.makecode.com/t/websocket-extension-experimental/4661/1 "2020-11-27T13:41:24Z")

</div>

This extension provide a WebSocket like API to build multiplayer game on the web (and hardware). It’s still very much a work in progress. **Read below, it will not work as is in the editor**.

- demo [https://pelikhan.github.io/pxt-sockets/](https://pelikhan.github.io/pxt-sockets/)
- github [https://github.com/pelikhan/pxt-sockets](https://github.com/pelikhan/pxt-sockets)

The simulation support is rather clunky right now because it can’t be tested in game yet. However if you copy custom.js/loader.js into your generate repo, you’ll be able to talk to WSS.

---

_[View the full topic](https://forum.makecode.com/t/websocket-extension-experimental/4661)._
