DEV Community

Cover image for Play Tic-Tac-Toe with Friends in AR
echo3D for echo3D

Posted on


Play Tic-Tac-Toe with Friends in AR

Here's a simple multiplayer Tic-Tac-Toe demo created with Unity, AR Foundation, and echo3D. The full demo can also be found on echo3D's GitHub.


Don't have an API key? Make sure to register for FREE at echo3D.


  • Clone this project and open in Unity
  • Set your echo3D API key in the echo3D prefab
  • Add the models from the models folder to the echo3D console
  • Add the corresponding metadata from the metadata folder to the model on the echo3D console
  • Update the following variables in CustomBehaviour.cs: string APIKey and string playerName


  • Build and run the AR application.
  • Build two instances of the game, one instance with string playerName = "o" and another instance with string playerName = "x" to simulate multiplayer

Learn more

Refer to our documentation to learn more about how to use Unity and echo3D.


Feel free to reach out at or join our support channel on Slack.


echo3D (; Techstars 19') is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.