[{"data":1,"prerenderedAt":410},["ShallowReactive",2],{"project-4028597":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":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":45,"post_text":47,"what":48,"said":78,"maker_in_thread":217,"shape":227,"grid":231,"attempts":373,"same_week":374,"maker_shows":43,"maker_hidden":402,"reader_version":403,"card":404},"4028597","Snaketron","Snaketron, online multiplayer Snake","title","Show HN: Snaketron, online multiplayer Snake","http:\u002F\u002Fsnaketron.com","snaketron.com","lopatin",1338071805,2012,96,55,228,1677,14,"notable","games","multiplayer browser game","web_app",[24,25,26,27],"multiplayer snake","browser game","websockets","node.js","mixed",-0.119,{"positive":31,"neutral":32,"mixed":33,"critical":34},6,12,8,11,37,{"execution":37,"design":40,"idea":41,"docs":44},{"positive":38,"critical":39},0,10,{"positive":38,"critical":38},{"positive":42,"critical":43},5,1,{"positive":38,"critical":38},[43,46,46,38,43,43,38,46,38,38,46,46,38,46,46,43,46,38,42,42,46,43,46,42,38,46,43,38,42,46,46,46,43,38,46,43,46,43,42,43],3,null,{"problem":47,"audience":47,"pricing":47,"motivation":47,"time_to_build":47,"stack":49,"openness":75,"stage":76,"team_size":77},[50,57,61,67],{"value":51,"source":52,"evidence":53},"Node.js","maker",[54],{"id":55,"by":11,"text":56},"4028945","Yea definitely, I wanted to comment this better but I was just too eager to release it hah. The run down is this. server.js is a long running script and it only has a few global…",{"value":58,"source":52,"evidence":59},"socket.io",[60],{"id":55,"by":11,"text":56},{"value":62,"source":52,"evidence":63},"MySQL",[64],{"id":65,"by":11,"text":66},"4031206","Just fixed sorry bout that. MySQL crashed overnight and just got to fix it.",{"value":68,"source":69,"evidence":70},"JavaScript","commenter",[71],{"id":72,"by":73,"text":74},"4028933","prezjordan","This is very nicely done, thanks for making it open-source - I'm learning node to work on a game idea I've had for a long time. Could someone explain the basic idea of server.js…","open_source","launched","unknown",{"praise":79,"objections":110,"requests":153,"questions":182,"alternatives":202},[80,95,103],{"value":81,"source":69,"evidence":82},"Addictive and fun to play",[83,87,91],{"id":84,"by":85,"text":86},"4028804","binxbolling","This is maddeningly addictive. However, \"draws\" are a little weird -- I often saw my opponent run directly into me, yet we get a draw? Shouldn't that be my win?",{"id":88,"by":89,"text":90},"4028874","unimpressive","Magnificent. I was hypnotized by my 1# spot on the running score until I lost it. The meta competition is an addiction +1 powerup. My personal recommendation is some catchy…",{"id":92,"by":93,"text":94},"4028795","lumberjack","JS events using in these JS only apps conflict with Pentadactyl and Vimperator for me. :( EDIT: It's the extensions' fault, just to be clear. Also, I'm amazed by the addictive…",{"value":96,"source":69,"evidence":97},"Well done and open source",[98,99],{"id":72,"by":73,"text":74},{"id":100,"by":101,"text":102},"4028927","freditup","Cool game but quite buggy. Sometimes a snake went through me, another time the opponent rammed into me and it was a draw. If we can have 3D shooters online without these…",{"value":104,"source":69,"evidence":105},"Running score and win ratio add to the fun",[106],{"id":107,"by":108,"text":109},"4029271","laumac","Yeah this happened to me too. After a while the snacks stopped popping up and my opponent just kept looping. Which means you have to refresh and lose your running score :(…",[111,120,135,142],{"value":112,"source":52,"evidence":113},"Latency causes wrong collision and draw results",[114,117],{"id":115,"by":11,"text":116},"4028892","Thanks! Both of those are bugs caused by latence issues. I tried my best to make the game playable, but they still sometimes occur. Most likely the person you were playing with…",{"id":118,"by":11,"text":119},"4028669","Thanks! I actually spent the majority of my time fixing latency issues. The movement actually is mostly client side, but I have to sync positions sometimes. With purely client…",{"value":121,"source":69,"evidence":122},"Snakes pass through each other or draws are wrongly declared",[123,127,131],{"id":124,"by":125,"text":126},"4028888","steve8918","Nicely done! I had a lot of fun playing this for about 30 mins! A couple of questions: I thought that if one snake ran into another, it would end the game but there were a couple…",{"id":128,"by":129,"text":130},"4029526","archangel_one","I had some similar problems; a couple of times I was just ahead of the other snake but when I turned across his path it recorded as a draw. I understand that it's really…",{"id":132,"by":133,"text":134},"4028837","boboblong","It should not be a draw when player A runs into player B near player B's head. Player B should win.",{"value":136,"source":69,"evidence":137},"Protocol trusts client, so cheating is easy",[138],{"id":139,"by":140,"text":141},"4029379","a1k0n","Nice. The protocol is completely insecure and the server trusts everything the client does, so \"Joshua\" is just getting all the food every turn (by sending \"eaten-snack\"…",{"value":143,"source":69,"evidence":144},"Games stall or site goes down under load",[145,149],{"id":146,"by":147,"text":148},"4028843","ryangilbert","As more people keep playing I've noticed it's starting to glitch. Last game my opponents snake ran into me and I could tell that he was then done playing because his snake kept…",{"id":150,"by":151,"text":152},"4031197","firesofmay","Site is not loading!",[154,164,171,178],{"value":155,"source":69,"evidence":156},"Hit spacebar to restart after game over",[157,161],{"id":158,"by":159,"text":160},"4028666","MCompeau","It's great how you can use spacebar to start a new game, definitely fuels the addictive\u002Fimpulsive play. Unfortunately the cycle is broken everytime I have to take my hand off the…",{"id":162,"by":147,"text":163},"4028748","I agree... hitting spacebar after game over would be nice. I find that once I hit the okay button and play again then when I hit the first down (or up) arrow afterwards that it…",{"value":165,"source":69,"evidence":166},"Add chat and best-of-three rounds",[167],{"id":168,"by":169,"text":170},"4028725","ricardobeat","This is great! Would be cool to have maybe 3 rounds vs the same opponent and a chat window, so the competition can heat up a little. Also, I hope passwords aren't being stored in…",{"value":172,"source":69,"evidence":173},"Add a need-to-eat mechanic to stop circling",[174],{"id":175,"by":176,"text":177},"4029182","6ren","I think a \"need to eat\" would fix this, e.g. tail gets shorter by one every unit-time (e.g. 10s).",{"value":179,"source":69,"evidence":180},"Add background techno music",[181],{"id":88,"by":89,"text":90},[183,191,195],{"value":184,"source":69,"evidence":185},"Is the protocol secure and is cheating possible",[186,187],{"id":139,"by":140,"text":141},{"id":188,"by":189,"text":190},"4028833","chubot","Nice job, spent a good 30 minutes playing this :) Brain virus. I encountered some bugs where there was a guy who couldn't lose. He just kept going straight and when he ran into…",{"value":192,"source":69,"evidence":193},"Are passwords stored in clear text",[194],{"id":168,"by":169,"text":170},{"value":196,"source":69,"evidence":197},"Where is the app hosted",[198],{"id":199,"by":200,"text":201},"4028796","fidz","Really great! I think it was on \"really big\" canvas with multiple snakes, but two snakes in real time are good too. Um, are those anonymouses are messing up the score? Especially…",[203,210],{"value":204,"source":69,"evidence":205},"Nibbles",[206],{"id":207,"by":208,"text":209},"4028801","piptastic","Very fun :) I used to play a lot of nibbles back in the day... Small bug: over 10.0 W\u002FL and it stopped showing up in the leaderboards: http:\u002F\u002Fi.imgur.com\u002FNChEp.png Once I lost a…",{"value":211,"source":69,"evidence":212},"Ouija-style shared snake",[213],{"id":214,"by":215,"text":216},"4028870","cing","I thought this might be a multiplayer game of a single instance of Snake where the consensus move is executed in realtime from many players. Of course your version makes sense,…",{"comments":39,"answered":218,"key":219},4,[220,223,224],{"id":221,"text":222},"4028926","That's odd about the other snake having a higher speed than you. I've noticed that when I was testing a lot but I thought I patched all the bugs that caused it. I'll look into it…",{"id":115,"text":116},{"id":225,"text":226},"4028673","Lol that actually occurred to me. I had some issues with hotkeys but I think I might figure it out and add that, now that a few people have mentioned it already :)",{"commenters":228,"max_depth":46,"maker_replies":39,"first_comment_mins":229,"lifespan_hours":230},38,31,24,[232,234,236,238,240,241,242,245,247,249,250,252,256,259,261,262,264,268,269,271,273,278,282,283,287,291,294,296,300,301,303,304,306,308,311,313,316,318,321,323,325,329,333,337,342,345,346,350,353,357,360,362,364,369,370],[139,38,43,233,140,38],"project\u002Fcritical\u002Fexecution",[188,43,46,235,189,38],"project\u002Fmixed\u002Fexecution",[221,43,38,237,11,43],"project\u002Fneutral\u002Fexecution",[124,239,46,237,125,38],2,[115,239,38,237,11,43],[128,239,43,233,129,38],[243,46,43,233,244,38],"4029101","pronoiac",[158,218,46,246,159,38],"project\u002Fmixed\u002Fdesign",[225,218,38,248,11,43],"project\u002Fneutral\u002Fdesign",[162,218,46,248,147,38],[214,42,46,251,215,38],"project\u002Fneutral\u002Fidea",[253,42,38,254,255,38],"4028937","other\u002Fneutral\u002Fnone","mgkimsal",[257,42,38,254,258,38],"4029401","jackolas",[72,31,46,260,73,38],"maker\u002Fneutral\u002Fdocs",[55,31,38,260,11,43],[199,263,46,235,200,38],7,[265,263,38,266,267,38],"4029732","other\u002Fneutral\u002Fidea","bfilmheld",[100,33,46,235,101,38],[270,33,38,237,11,43],"4028959",[272,33,46,237,101,38],"4029292",[274,275,43,276,277,38],"4028977",9,"project\u002Fcritical\u002Fidea","tylermenezes",[279,275,38,280,281,38],"4029040","commenter\u002Fneutral\u002Fnone","ilaksh",[175,275,46,251,176,38],[284,275,38,285,286,38],"4029780","commenter\u002Fneutral\u002Fidea","coffeeaddicted",[288,39,46,289,290,38],"4029042","project\u002Fneutral\u002Fnone","superkuh",[292,34,42,293,286,38],"4029049","project\u002Fpositive\u002Fidea",[295,32,42,293,267,38],"4029481",[297,298,46,235,299,38],"4028750",13,"jboggan",[146,18,43,233,147,38],[302,18,38,237,11,43],"4028954",[107,18,46,235,108,38],[207,305,46,235,208,38],15,[88,307,42,293,89,38],16,[309,307,38,310,11,43],"4028935","maker\u002Fneutral\u002Fnone",[92,312,46,237,93,38],17,[314,312,38,280,315,38],"4029768","minoru",[84,317,43,233,85,38],18,[319,317,38,320,208,38],"4028810","commenter\u002Fneutral\u002Fexecution",[168,322,42,293,169,38],19,[324,322,38,251,11,43],"4028749",[326,327,46,251,328,38],"4028987",20,"dancole",[330,331,46,237,332,38],"4028835",21,"Dejital",[334,335,38,254,336,38],"4029234",22,"mikeroher",[338,339,46,340,341,38],"4029018",23,"project\u002Fmixed\u002Fdocs","borski",[343,230,43,233,344,38],"4028654","phildeschaine",[118,230,38,237,11,43],[347,348,43,233,349,38],"4028986",25,"kzahel",[351,352,42,293,147,38],"4028739",26,[354,355,43,233,356,38],"4029232",27,"dubcanada",[358,359,46,237,147,38],"4030678",28,[150,361,43,233,151,38],29,[65,361,38,363,11,43],"maker\u002Fneutral\u002Fexecution",[365,366,42,367,368,38],"4028768",30,"project\u002Fpositive\u002Fnone","fredsters_s",[132,229,43,233,133,38],[371,372,46,251,133,38],"4028879",32,[],[375,380,385,389,394,398],{"id":376,"name":377,"points":378,"category":379},"4025901","Drapache",98,"infrastructure",{"id":381,"name":382,"points":383,"category":384},"4023941","Stallion",93,"dev_tools",{"id":386,"name":387,"points":388,"category":384},"4044362","Cloudedit",82,{"id":390,"name":391,"points":392,"category":393},"4031699","JSON5",64,"languages",{"id":395,"name":396,"points":397,"category":393},"4040046","Joint",56,{"id":399,"name":400,"points":401,"category":384},"4025361","Gistlicious",54,false,"v2",{"id":405,"name":5,"line":6,"ai":402,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":406,"top":18,"kw":407,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":408,"url":9,"mix":409,"praise":81,"objection":112,"sub":21},4028597,-0.12,[24,25,26,27],"1330110300330331305531350310533310313151",[31,32,33,34],1794036496286]