Live data from Hacker News

2048

gabrielecirulli.github.io

231–240 of 423 posts

Re: 2048

#231
post #190
post #112

Earlier quoted context omitted.

I did it by pressing up-left-down-right, repeating each direction as many times as possible. That's the worst part - knowing that your carefully calculated playthrough is actually no better than someone just pressing the keys in a set order.

Ran your strategy 162 times with autoit of which the following blocks came by: [128]: 150 times, [256]: 36 times, [512]: 13 times, [1024]: 0 times. Anyone else a good suggestion for an optimal "blind" strategy?

UUDDLRLRBA

Re: 2048

#232

Earlier quoted context omitted.

If that's real, congrats! I had started doubting that anybody would ever win the game :P

Can you add in how many moves!!?

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

#236

Earlier quoted context omitted.

Can you add in how many moves!!?

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.

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() 
https://github.com/gabrielecirulli/2048/blob/master/js/game_...

Re: 2048

#239

Hey, author here! I'm pretty overwhelmed that this made it to the top of HN without me even thinking of posting it here :) I made this game as a fun weekend project, inspired by another game called 1024 ( https://itunes.apple.com/us/app/1024!/id823499224 ) and a spinoff called 2048 ( http://saming.fr/p/2048/ ). I did mine to add animations to the latter, which was a bit hard to play without them. I discovered Threes…

Thanks a lot jerk...now ive lost 2 hours of sleep because of this game! Keep up the good work!

Re: 2048

#240

Why isn't this working for me? Screenshot: http://imgur.com/9QzI3Z2

what's the blue thing around the screen?

am DEFINITELY sure it's not hardware because it's working on my SUPER FAST laptop (1.1 Dual Core, intel HD, Firefox 27.0.1)

so am sure YOU did something

Post reply on HN