# Does anybody know how to use websockets?

**URL:** <https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998>\
**Category:** Help\
**Created:** [July 10, 2025, 9:33pm UTC](https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998 "2025-07-10T21:33:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeTycoon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codetycoon/32/27588_2.png) [@CodeTycoon](https://forum.makecode.com/u/CodeTycoon)\
**Post date:** [July 10, 2025, 9:33pm UTC](https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998/1 "2025-07-10T21:33:08Z")

</div>

hey there. I’ve seen a couple projects that use WebSockets, but the servers they use are down. I know we have the multiplayer extension, but that’s just not what I am looking for. I am looking for a way I could make an always online game like a first-person shooter. This isn’t doable with the current multiplayer for two reasons: 1. The multiplayer is not always live. And 2. ray casting doesn’t support multiple screens. With a Websocket I could have a number or something be sent to the server every time someone does an action (moves, shoots, etc.) And then that number could be sent to the other user and the emulator would decode that to perform the action. I guess what I want to do is just learn how to make a server for it (free and online if possible) and then if someone could just tell me how to make it so that if I hit the a button on one browser emulator, the other browser emulator would be notified. Any help is appreciated, and please let me know if there is something I should clarify. P.S. @Brohann I could use some help here! I have seen some of your posts but i am very confused.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [July 10, 2025, 9:54pm UTC](https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998/2 "2025-07-10T21:54:57Z")

</div>

I second this! @Brohann I would love to learn more about the backends of your servers and the stuff I’ve seen on your GitHub 🙂

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [July 10, 2025, 10:50pm UTC](https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998/3 "2025-07-10T22:50:00Z")

</div>

I will be going on vacation very soon, so you guys are going to have to wait until I get back or find time for me to make a tutorial

---

<div class="post-metadata">

**Author:** ![CodeTycoon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codetycoon/32/27588_2.png) [@CodeTycoon](https://forum.makecode.com/u/CodeTycoon)\
**Post date:** [July 11, 2025, 7:03pm UTC](https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998/4 "2025-07-11T19:03:57Z")

</div>

Okay Thanks so much! Enjoy your vacation!

---

<div class="post-metadata">

**Author:** ![CodeTycoon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codetycoon/32/27588_2.png) [@CodeTycoon](https://forum.makecode.com/u/CodeTycoon)\
**Post date:** [July 25, 2025, 4:32pm UTC](https://forum.makecode.com/t/does-anybody-know-how-to-use-websockets/37998/5 "2025-07-25T16:32:01Z")

</div>

I guess what i want to accomplish here is i want to learn how to change a value by performing an action
