News for hackers. Stuff that matters.
Re:2048 by terabytest on Monday March 10, 2014 @02:35PM (#7374802)
If that's real, congrats! I had started doubting that anybody would ever win the game :P
Re:2048 by birdmanjeremy on Monday March 10, 2014 @07:29PM (#7376397)
It took me a few tries, but it's definitely winnable.
Re:2048 by kaybe on Tuesday March 11, 2014 @04:26PM (#7381898)
Do you have new numbers? I got a bunch of people addicted and I assume I'm not the only one.
Re:2048 by samstave on Monday March 10, 2014 @04:43PM (#7375561)
Can you add in how many moves!!?
Re:2048 by duskwuff on Tuesday March 11, 2014 @12:22AM (#7377405)
Each turn, one 2 tile is added, and other tiles may be combined. So you can derive the move count by adding together the numbers on all the visible tiles and dividing by 2.
Re:2048 by jsmthrowaway on Tuesday March 11, 2014 @12:59AM (#7377521)
This is inaccurate, because you have a 10% chance of getting a 4 tile added instead of a 2. That part makes the game tricky, because otherwise you could optimize every solution like an algorithm without ever losing.

    var value = Math.random() < 0.9 ? 2 : 4;
https://github.com/gabrielecirulli/2048/blob/master/js/game_...
Re:2048 by duskwuff on Tuesday March 11, 2014 @08:33PM (#7383193)
Oh, huh, I didn't even realize it was doing that. Even so, the move count will still be roughly proportional to the sum of the board (plus or minus some random variation), won't it?
Re:2048 by samstave on Tuesday March 11, 2014 @01:22AM (#7377594)
Thanks Neckbeard,

I refuse to do these calculations in my head...

The author should do this, and create a counter of moves within the app.

Re:2048 by samstave on Tuesday March 11, 2014 @02:19PM (#7381100)
eh... Sorry - I was tipsy when I posted that...
Re:2048 by birdmanjeremy on Monday March 10, 2014 @07:29PM (#7376401)
This would be cool. I think winning in the fewest moves would be the most impressive. i.e. how few tiles you 'waste'. Though winning with the lowest score may approximate this.