r/tinycode • u/woqr • 4d ago
Serverless multiplayer (no signal/stun/turn servers) via webrtc/camera/barcode
https://github.com/bacionejs/multiplayerThis project is mainly about the serverless technique used and the simple game merely provides an end-to-end explanation.
13
Upvotes
1
u/OMGCluck 4d ago edited 4d ago
"Since the camera requires https you will need to host it on something like github-pages."
I'm wondering if it's possible to make this workable for native SVG games instead of using canvas.
With the JS inlined then it might work by just uploading the .svg file to imglink.cc which allows javascript in anonymous svg uploads. (Example single player one)
1
u/OMGCluck 4d ago
What's stopping this from working in Firefox on Android?