Re:Show HN: WebRTC Serverless 2-player 2048 Game with Annota...
by n-gauge on Tuesday October 25, 2016 @01:55PM
(#12790025)
This looks like a good source to learn WebRTC data channels. Correct?
[ Parent
| on HN ]
Re:Show HN: WebRTC Serverless 2-player 2048 Game with Annota...
by fiatjaf on Tuesday October 25, 2016 @03:41PM
(#12791006)
I've searched the internet for a quick demo/tutorial of WebRTC that teached me to send a text from one computer to another. Couldn't find anything small and simple enough and still usable. Wrote this: https://gist.github.com/fiatjaf/229a5db2f431ab707e3fb909240d..., it may be worth of your reading.
Re:Show HN: WebRTC Serverless 2-player 2048 Game with Annota...
by jczhang on Tuesday October 25, 2016 @02:28PM
(#12790316)
We just wrote a very detailed step-by-step article on getting started with WebRTC data channels using TDD:
https://medium.com/@coldbrewtesting/getting-started-with-web...
Re:Show HN: WebRTC Serverless 2-player 2048 Game with Annota...
by chrischen on Tuesday October 25, 2016 @02:06PM
(#12790118)
It was more an experiment in creating a fully serverless game contained in client side JS. Even the matchmaking is client side, however I believe PeerJS does use a server to broker conmections.