I ported the Endel Dreyer’s Colyseus example tic-tac-toe to the Defold. Server code is as it is, but I made slightly changes on client side code.
Sorry if I made a terrible design decision, feel free to shout them on my face
You can download the project from github.
Git repo: https://github.com/selimanac/defold-colyseus-tic-tac-toe
First, you need to install Node.js.
Server is in the
You can install and start the server from cli:
> cd /<project_path>/server > npm install > npm start
Then you can start clients from Defold.
There are known issues: