I wanted to recreate a simple app I had done before. I present the user with a canvas, they click a (big) pixel and it will flip at next turn. The twist being every user is presented the same, shared, canvas.
I tried to setup a basic socket.io app which I’ll need to share the canvas state between the users but I have some trouble following the socket.io documentation. The library need a reference to the server but hyperweb doesn’t expose it. At least, I haven’t found how to get it yet.
Any help would be welcome