Open torch2424 opened 6 years ago
GB Dev perspective:
http://gbdev.gg8.se/wiki/articles/Serial_Communication_(Link_Cable)_Tutorial
Hardware perspective:
http://gbdev.gg8.se/wiki/articles/Serial_Data_Transfer_(Link_Cable)
PlutoBoy has a link cable emulation: https://github.com/RossMeikleham/PlutoBoy
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 Email or some sort
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:
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 quick, and just change some values on the client 😄
Last thing I would check out: https://github.com/kgryte/awesome-peer-to-peer
Started some of this at: #229
how goes the progress on this?
@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 to go, so I just gotta find the time to do it :smile:
Would be great if functions to transfer data between clients are configurable.
Look into Link Cable Emulation
Goal would to be have it done over WebRtc with a peer to peer connection, using something like
simple-peer
or PeerJs