Live data from Hacker News

9007199254740992

csie.ntu.edu.tw

31–40 of 64 posts

Re: 9007199254740992

#31
post #29
post #25

This is nothing but a pure button masher... just hit the keys real fast. Use a strategy of "shaking" e.g. hit left,right quickly in succession a bunch of times to fill the board followed by a "circle" e.g. up left down right a bunch of times. I really don't like hating on a HN submission, but either this game is very lame or I am missing the point entirely. :P

It's kind of absurdist humour. HN has been full of responses to the rather clever 2048 game lately -- 2048 in HTML5, 2048 in the smallest number of bytes, the 2048 AI solver, 2048 in Brainfuck, 2048 in Latin, etc etc etc. This is amusing to me because the subject line looked almost like one of those obnoxious Bitcoin transaction posts, thus bringing together HN's latest fad with its eternal obsession, in my mind at l…

... http://rwg.github.io/0/

Re: 9007199254740992

#32
After hammering on my keyboard (somewhat) coherently for a long time, I would conjecture that the board is too large. So I tried to us down and either left or right alternately and switching left and right when a position would not move anymore. At least until 8192 and ~200k points, random fluctuations seem to clear always enough stones that the board was never more than half full.

Re: 9007199254740992

#33
post #3

And the productivity goes down by the same factor.(2^53 btw ) I finally reached the 2048. :) I think I understand now why candy crush is so popular. > 8192. > 16384 and I'm done. Manually There needs to be a save feature.

Did you get to 16384 manually? This is what I got after (roughly) 12000 random moves: http://imgur.com/EnROFm9 Can any math people figure out how many years it would take to finally end this? (Not win, just lock it up).

I just got to that manualy... its not that hard.

Re: 9007199254740992

#34
post #29
post #25

This is nothing but a pure button masher... just hit the keys real fast. Use a strategy of "shaking" e.g. hit left,right quickly in succession a bunch of times to fill the board followed by a "circle" e.g. up left down right a bunch of times. I really don't like hating on a HN submission, but either this game is very lame or I am missing the point entirely. :P

It's kind of absurdist humour. HN has been full of responses to the rather clever 2048 game lately -- 2048 in HTML5, 2048 in the smallest number of bytes, the 2048 AI solver, 2048 in Brainfuck, 2048 in Latin, etc etc etc. This is amusing to me because the subject line looked almost like one of those obnoxious Bitcoin transaction posts, thus bringing together HN's latest fad with its eternal obsession, in my mind at l…

...2048 in Dart cross-compiled to Julia with Flappy Bird graphics.

Re: 9007199254740992

#35

If you're using Chrome, this should save you some time: function step() { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = 37 + Math.floor(Math.random(0, 1)*3); document.dispatchEvent(eventObj); } int = setInterval(step, 0.001);

Huh.

After a few minutes of this, it told me the only way to win was not to play the game.

Re: 9007199254740992

#36

If you're using Chrome, this should save you some time: function step() { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = 37 + Math.floor(Math.random(0, 1)*3); document.dispatchEvent(eventObj); } int = setInterval(step, 0.001);

This never presses the down key. A small correction so it'll move randomly in all directions

  function step() {
      var eventObj = document.createEvent("Events");
      eventObj.initEvent("keydown", true, true);
      eventObj.which = 37 + Math.floor(Math.random(0, 1)*4);
      document.dispatchEvent(eventObj);   
  }
  int = setInterval(step, 0.001);

Re: 9007199254740992

#37

If you're using Chrome, this should save you some time: function step() { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = 37 + Math.floor(Math.random(0, 1)*3); document.dispatchEvent(eventObj); } int = setInterval(step, 0.001);

This never presses the down key. A small correction so it'll move randomly in all directions function step() { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = 37 + Math.floor(Math.random(0, 1)*4); document.dispatchEvent(eventObj); } int = setInterval(step, 0.001);

I think that's the point, since one of the key strategies to this game is to only use 3 of the direction keys.

Re: 9007199254740992

#38
post #29
post #25

This is nothing but a pure button masher... just hit the keys real fast. Use a strategy of "shaking" e.g. hit left,right quickly in succession a bunch of times to fill the board followed by a "circle" e.g. up left down right a bunch of times. I really don't like hating on a HN submission, but either this game is very lame or I am missing the point entirely. :P

It's kind of absurdist humour. HN has been full of responses to the rather clever 2048 game lately -- 2048 in HTML5, 2048 in the smallest number of bytes, the 2048 AI solver, 2048 in Brainfuck, 2048 in Latin, etc etc etc. This is amusing to me because the subject line looked almost like one of those obnoxious Bitcoin transaction posts, thus bringing together HN's latest fad with its eternal obsession, in my mind at l…

The logical conclusion to this sequence is somebody making the polar opposite of this entry. Namely, a game called 2. It's a 1x1 grid, and you begin in the winning state.

Re: 9007199254740992

#40

I want to make an AI to play this. This might be a dumb question, but how would I get the input and output to and from the game?

It is a pretty simple game. I don't think it really needs an "AI" to play. A few people have already posted a few javascript solutions.
Post reply on HN