# How to Implement Multiplayer Connection on MakeCode Arcade R2

**URL:** <https://forum.makecode.com/t/how-to-implement-multiplayer-connection-on-makecode-arcade-r2/31526>\
**Category:** Help\
**Created:** [November 5, 2024, 5:36pm UTC](https://forum.makecode.com/t/how-to-implement-multiplayer-connection-on-makecode-arcade-r2/31526 "2024-11-05T17:36:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![howard](https://avatars.discourse-cdn.com/v4/letter/h/90ced4/32.png) [@howard](https://forum.makecode.com/u/howard)\
**Post date:** [November 5, 2024, 5:36pm UTC](https://forum.makecode.com/t/how-to-implement-multiplayer-connection-on-makecode-arcade-r2/31526/1 "2024-11-05T17:36:13Z")

</div>

Hello everyone,

I’m currently developing a **multiplayer game** on **MakeCode Arcade** and plan to run it on **R2 devices**. My goal is to enable multiple R2 devices to connect to each other for synchronous multiplayer gameplay. However, I couldn’t find any suitable code examples or documentation for setting up multiplayer connections specifically for R2 devices.

**Requirement:** I’d like to establish a connection between R2 devices to enable multiplayer gameplay.

**Question:** Is there any existing code that could help achieve this multiplayer connection? Or are there any similar examples or tutorials available?

Thank you very much for your help!
