Aaron Turner
Aaron Turner
Our best bet is WebRTC. It provides a P2P like way to transfer data between two clients. It is also possible to.do serverless, by sending each other's signaling key through...
Here's another severless webrtc I found while out getting coffee 😄 https://github.com/owebio/serverless-webrtc-chat
Here's serverless WebRTC using QR codes: https://github.com/AquiGorka/webrtc-qr And a qr code reader: https://github.com/schmich/instascan
https://peerjs.com/ I think we should go with that. They have a server already hosted for their service. And if it ever went down, we could simply roll our own real...
Started some of this at: #229
@FM1337 I haven't started this beyond just mocking it out to get the game Alleyway working :o That being said, looking back over this, seems like PeerJS is the way...
relates to #49
Got some good feedback in the AS slack, should definitely post that here :)
Currently, the Memory is estimated to be about 9MB, which isn't much of a problem, because [apparently the cap on wasm memory is 2 gigabytes](https://bugs.chromium.org/p/v8/issues/detail?id=6478)
Honestly, if we throw the cartridge at the end of the memory map, then we can scale suuuuppeerrr easy. May want to do that, since the memory map already differs...