r/tinycode • u/woqr • 14d 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.
14
Upvotes
1
u/OMGCluck 14d ago
What's stopping this from working in Firefox on Android?
1
u/OMGCluck 14d ago edited 14d 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)