[{"data":1,"prerenderedAt":192},["ShallowReactive",2],{"project-12788147":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":32,"aspects":34,"strip":36,"post_text":30,"what":38,"said":62,"maker_in_thread":119,"shape":126,"grid":130,"attempts":154,"same_week":155,"maker_shows":127,"maker_hidden":185,"reader_version":186,"card":187},"12788147","WebRTC Serverless 2-player 2048","WebRTC Serverless 2-player 2048 Game with Annotated Source","title","Show HN: WebRTC Serverless 2-player 2048 Game with Annotated Source","http:\u002F\u002Fwww.instapainting.com\u002F2x2048\u002Findex.html","instapainting.com","chrischen",1477404924,2016,11,13,1716,2264,76,"shown","games","browser game","web_app",[24,25,26,27,28],"webrtc","2048","peer to peer","multiplayer game","javascript","quiet",null,{"positive":32,"neutral":33,"mixed":33,"critical":33},1,0,{"docs":35},{"positive":32,"critical":33},[33,33,33,33,33,33,33,33,37,33,33,33,33],5,{"problem":30,"audience":30,"pricing":30,"motivation":39,"time_to_build":30,"stack":46,"openness":61,"stage":61,"team_size":61},{"value":40,"source":41,"evidence":42},"An experiment in building a fully serverless game in client-side JS","maker",[43],{"id":44,"by":11,"text":45},"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…",[47,53,57],{"value":48,"source":41,"evidence":49},"WebRTC",[50],{"id":51,"by":11,"text":52},"12790586","Its webrtc, so direct peer to peer connections during gameplay. If you just looked at the code you can see for yourself.",{"value":54,"source":41,"evidence":55},"PeerJS",[56],{"id":44,"by":11,"text":45},{"value":58,"source":41,"evidence":59},"JavaScript",[60],{"id":44,"by":11,"text":45},"unknown",{"praise":63,"objections":80,"requests":100,"questions":101,"alternatives":107},[64],{"value":65,"source":66,"evidence":67},"Good source for learning WebRTC data channels","commenter",[68,72,76],{"id":69,"by":70,"text":71},"12790025","n-gauge","This looks like a good source to learn WebRTC data channels. Correct?",{"id":73,"by":74,"text":75},"12790316","jczhang","We just wrote a very detailed step-by-step article on getting started with WebRTC data channels using TDD:…",{"id":77,"by":78,"text":79},"12791006","fiatjaf","I've searched the internet for a quick demo\u002Ftutorial of WebRTC that teached me to send a text from one computer to another. Couldn't find anything small and simple enough and…",[81,94],{"value":82,"source":66,"evidence":83},"Calling it serverless is misleading since a broker server is needed to connect peers",[84,88,91],{"id":85,"by":86,"text":87},"12790455","aikah","\"Serverless\" ? how do players connect with each others? I bet it isn't serverless at all. When will developers stop using these buzzwords that are effectively lies, from a strict…",{"id":89,"by":86,"text":90},"12790639","> Its webrtc, so direct peer to peer connections during gameplay. How does one player knows I'm connected without a server that tracks remote connections ? please explain. edit:…",{"id":92,"by":86,"text":93},"12794407","> It'd be cool if you knew what you were talking about. It'd be cool if people stop using bullshit buzzword in order to promote a project. There is a server period. It doesn't…",{"value":95,"source":41,"evidence":96},"Does not work in Safari due to lack of WebRTC support",[97],{"id":98,"by":11,"text":99},"12788171","Note: due to lack of support for WebRTC in Safari, the demo won't work on iOS or Mac Safari.",[],[102],{"value":103,"source":66,"evidence":104},"How do players connect without a server?",[105,106],{"id":85,"by":86,"text":87},{"id":89,"by":86,"text":90},[108,115],{"value":109,"source":66,"evidence":110},"Serverless WebRTC example by cjb on GitHub",[111],{"id":112,"by":113,"text":114},"12796833","chrisbraddock","Dude. You're really focusing on the wrong thing here. No one is lying or attempting to deceive. At worst, the term is being used loosely - at worst. At best it's only referring…",{"value":116,"source":66,"evidence":117},"Tutorial on WebRTC data channels with TDD on Medium",[118],{"id":73,"by":74,"text":75},{"comments":120,"answered":121,"key":122},4,2,[123,124,125],{"id":51,"text":52},{"id":98,"text":99},{"id":44,"text":45},{"commenters":127,"max_depth":127,"maker_replies":120,"first_comment_mins":128,"lifespan_hours":129},6,3,27,[131,133,135,136,138,139,140,142,144,146,148,150,151],[85,33,33,132,86,33],"commenter\u002Fcritical\u002Fidea",[51,33,33,134,11,32],"commenter\u002Fneutral\u002Fidea",[89,33,33,132,86,33],[137,33,33,134,113,33],"12791294",[92,33,33,132,86,33],[112,33,33,134,113,33],[141,33,33,134,113,33],"12798658",[98,32,33,143,11,32],"project\u002Fneutral\u002Fperformance",[69,121,37,145,70,33],"project\u002Fpositive\u002Fdocs",[44,121,33,147,11,32],"project\u002Fneutral\u002Fidea",[73,121,33,149,74,33],"other\u002Fneutral\u002Fdocs",[77,121,33,149,78,33],[152,128,33,153,11,32],"12790123","maker\u002Fpositive\u002Fdocs",[],[156,161,166,171,176,181],{"id":157,"name":158,"points":159,"category":160},"12786935","LiquidTime",301,"productivity",{"id":162,"name":163,"points":164,"category":165},"12782881","Simple Highway Simulator",219,"learning_science",{"id":167,"name":168,"points":169,"category":170},"12762611","Quiet",179,"languages",{"id":172,"name":173,"points":174,"category":175},"12752125","hnlive.tk",109,"data",{"id":177,"name":178,"points":179,"category":180},"12751595","Nuage",79,"web_saas",{"id":182,"name":183,"points":184,"category":165},"12795711","Modular JavaScript",73,false,"v2",{"id":188,"name":5,"line":6,"ai":185,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":189,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":190,"url":9,"mix":191,"praise":65,"objection":82,"sub":21},12788147,[24,25,26,27,28],"0000000050000",[32,33,33,33],1793990949225]