News for hackers. Stuff that matters.
Re:2048 by terabytest on Monday March 10, 2014 @12:35PM (#7373927)
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 only today, and I had no idea it looked so similar. I searched a bit and it appears as if 1024 is also inspired by Threes, so my game is probably the last of a long chain of clones :P

The code is also open-source. You can find it here: https://github.com/gabrielecirulli/2048

Feel free to ask me anything, and thanks to everyone for the attention! :)

By the way, my highscore is somewhere around 6000. Admittedly, I'm quite bad at playing my own game :P

EDIT: Make sure not to get addicted!

EDIT 2: The game now has swipe gestures and vim keys support (added by @rayhaanj)!

Re:2048 by phillmv on Monday March 10, 2014 @01:32PM (#7374355)
Holy shit I just lost like 45 minutes to this.
Re:2048 by terabytest on Monday March 10, 2014 @02:33PM (#7374788)
I've been playing this all day today. I basically created my own demise.
Re:2048 by andrey-p on Tuesday March 11, 2014 @08:12AM (#7378745)
Creating a game that you, the creator, can't stop playing is the sign of a pretty good game. It's like "eat your own dog food", but with crack.
Re:2048 by dwd on Wednesday March 12, 2014 @04:32AM (#7384548)
Too damn addictive.

Won a few times and still keep picking it up. Now the Tetris dreams are starting; must stop.

Re:2048 by nevvvermind on Tuesday March 11, 2014 @03:58AM (#7377956)
I was reading all your "I wasted x hours on this" and I rolled my eyes - "My god, these guys fall for everything". Then I tried it. Couldn't sleep. Damn it!
Re:2048 by eru on Monday March 10, 2014 @09:43PM (#7376906)
Just be glad you are already immune to Tetris.
Re:2048 by awjr on Tuesday March 11, 2014 @08:07AM (#7378721)
Best strategy (for me) seems to be to play it like tetris. Never ever use the up key and create a row at the bottom where everything collapses into it.

This sort of clicked towards, oooh I don't know about 1:30am this morning.

Re:2048 by lugg on Tuesday March 11, 2014 @08:46AM (#7378875)
That sort of works, I've been using a similar strategy but switching what I call "bottom" whenever the moment suits.
Re:2048 by dllthomas on Tuesday March 11, 2014 @12:57PM (#7380525)
The enemy gate is down.
Re:2048 by amjaeger on Wednesday March 12, 2014 @02:43AM (#7384301)
YES!
Re:2048 by awjr on Tuesday March 11, 2014 @12:30PM (#7380321)
I'll have to look into that way of playing.
Re:2048 by ashmud on Friday March 14, 2014 @11:30AM (#7399441)
Empirically, this got me much further than the corner (stair-stepped) approach.
Re:2048 by lsdafjklsd on Wednesday March 12, 2014 @09:40AM (#7385481)
Yes, I won twice yesterday with this strategy.
Re:2048 by prasio on Tuesday March 11, 2014 @01:45AM (#7377649)
I launched a very similar called Even last week on Android -- http://bit.ly/even-game -- have fun!
Re:2048 by snuffmeister on Tuesday March 11, 2014 @08:50PM (#7383262)
Downloaded and installed. Can you please remove the almost mandatory google games sign in, or make it optional. I tries to connect every time I move between the game and the menu, and I don't want it to connect...
Re:2048 by wiredfool on Monday March 10, 2014 @01:55PM (#7374517)
Evil evil game.
Re:2048 by wiredfool on Monday March 10, 2014 @03:35PM (#7375196)
And to quantify the evilness -- 1024 and exactly 12000 points.
Re:2048 by wiredfool on Wednesday March 12, 2014 @11:46AM (#7386295)
Ha. 2048 and 20000+. Now I can put it in my /etc/hosts.
Re:2048 by elwell on Wednesday March 12, 2014 @05:05PM (#7388398)
"I am sorry '2048' users, 22 hours from now, I will take '2048' down. I cannot take this anymore."

Note: shameless parody plagarism, (original: https://news.ycombinator.com/item?id=7386459), but this thread has 20x points.

Re:2048 by gotts on Monday March 10, 2014 @11:37PM (#7377268)
just spent a few hours on this. I'm in love-hate relationships with the author now
Re:2048 by Trufa on Monday March 10, 2014 @07:20PM (#7376359)
Two hours straight and managed to get once to 1024.
Re:2048 by vjdhama on Monday March 10, 2014 @05:59PM (#7375970)
I lost my whole damn day.
Re:2048 by georgeg on Tuesday March 11, 2014 @01:17AM (#7377578)
lost precious time for thesis writing! evil game!
Re:2048 by seventytwo on Monday March 10, 2014 @02:16PM (#7374672)
You definitely need to have some kind of counter for how many times someone has reached 2048, and out of how many games played.
Re:2048 by gridspy on Monday March 10, 2014 @07:54PM (#7376511)
Or an expansion on that. Keep track of how many 128s, 256s etc you've ever formed. Show them as big counters directly under the game with an animation when you create any of them.
Re:2048 by benjamincburns on Monday March 10, 2014 @08:46PM (#7376736)
Log scale histogram?

Edit:

Actually all you need to store is the highest block achieved, and the number of times it's been hit. For instance, if you've only ever generated 2 8's, then you know that you've had 4 4's, and 8 2's...

Edit 2: Does the game allow four 2's to cascade into an 8? If so, maybe you could also store combo stats. It'd be way cooler to smash together four 256's than to smash together two 256's two times.

Not sure how that plays into the histogram.

Re:2048 by IanCal on Tuesday March 11, 2014 @10:52AM (#7379486)
> For instance, if you've only ever generated 2 8's, then you know that you've had 4 4's

You know you've had at least 4 4's, but you could have had more.

Re:2048 by benjamincburns on Wednesday March 12, 2014 @12:02AM (#7383867)
Ah. Lower bounds... they get me every time!
Re:2048 by jonalmeida on Monday March 10, 2014 @08:13PM (#7376596)
I can't tell if I despise you or admire you, all I know is that there was light outside my window when I first began playing this, and now it's pitch dark.

Upvoted you to show my anger! :)

Re:2048 by palakchokshi on Monday March 10, 2014 @01:16PM (#7374236)
So addictive. You know since tiles slide to the edge it would be great if this took advantage of accelerometers to allow tile combining by tilting. I know this is a browser game but if you ever create an app using the tilt motion to combine tiles would be awesome. :)
Re:2048 by reubenmorais on Monday March 10, 2014 @01:41PM (#7374415)
Re:2048 by primitivesuave on Monday March 10, 2014 @02:53PM (#7374920)
I haven't been this addicted to a game since Drop7.
Re:2048 by pavel_lishin on Monday March 10, 2014 @06:17PM (#7376060)
I was so addicted to Drop7, and so annoyed at the crappy Android version, I made my own HTML/JS version with appcache, so I could play it in chrome offline: https://github.com/pavellishin/drop7
Re:2048 by primitivesuave on Tuesday March 11, 2014 @03:11AM (#7377868)
This is fantastic! Thanks so much for sharing, I learned so much from reading your very elegant and well-commented code.

Just in case anyone is looking at this and wants a direct link to play pavel_lishin's version, here's the raw github version: https://rawgithub.com/pavellishin/drop7/master/drop7.html

Side note: I got hooked on Drop7 during my first semester in college. I was fascinated by the game and wrote a simulator to pick the optimal move: https://github.com/keshavsaharia/Drop7Simulator

Re:2048 by pavel_lishin on Tuesday March 11, 2014 @11:08AM (#7379618)
Ooh, nice! I thought about writing some sort of AI to play for me, but never got around to it. (Plus, it felt weirdly oroborous-like.)
Re:2048 by ToastyMallows on Tuesday March 11, 2014 @09:28AM (#7379044)
Awesome work, thanks for posting. I too was annoyed at Android support. It could be one of their more popular games if it was just updated a little.
Re:2048 by andrelaszlo on Monday March 10, 2014 @03:31PM (#7375170)
Same!
Re:2048 by pje on Monday March 10, 2014 @03:37PM (#7375200)
Please allow me to throw money at you somehow
Re:2048 by prasio on Tuesday March 11, 2014 @01:46AM (#7377655)
Or you can download Even (free!) that I launched last week -- http://bit.ly/even-game -- have fun!
Re:2048 by jf on Monday March 10, 2014 @05:42PM (#7375879)
Yes! At the very least put up a BTC or Dogecoin address we can send donations to!
Re:2048 by greggman on Monday March 10, 2014 @10:14PM (#7377027)
Or maybe go buy Threes which this is a descendant of?

http://asherv.com/threes/

Nice clone but it's definitely a clone and so should be treated as such.

Re:2048 by eps on Tuesday March 11, 2014 @02:39AM (#7377801)
I have Threes and they way way over-designed it. Also it's rubbery interface is really quite annoying. This one however is a perfection - simpler idea, pure gameplay, subtle animations and UI mechanics. It really beats Threes hands down even if it's a "clone".
Re:2048 by kibibu on Wednesday March 12, 2014 @08:21PM (#7389361)
Yep, and if you have a spare couple of minutes to play a game, the first minute is spent loading it.
Re:2048 by epsylon on Tuesday March 11, 2014 @10:07AM (#7379247)
iDevices only. Bleh.
Re:2048 by matt_heimer on Friday March 14, 2014 @12:03PM (#7399718)
Re:2048 by oneeyedpigeon on Wednesday March 12, 2014 @09:34AM (#7385445)
They've been promising an android version for some time now. If they don't hurry up, though, they'll get beaten to it by clones.
Re:2048 by terabytest on Tuesday March 11, 2014 @05:50AM (#7378267)
Not sure if I can do that. Wouldn't it be unethical and unfair to the other developers?
Re:2048 by reeses on Tuesday March 11, 2014 @12:40PM (#7380401)
You can always pay some sort of % as tribute, but you've created something that we all find a horrendous waste of time :-) so a way of remunerating you to some degree is not in the least bit unethical.

It's good to get paid for your work, even if it was fun.

Re:2048 by iamdanfox on Monday March 10, 2014 @12:42PM (#7373976)
Out of curiosity, I'd love to hear what your Google Analytics graphs look like! How long to people spend playing it?
Re:2048 by terabytest on Monday March 10, 2014 @12:53PM (#7374051)
Right now there are around 2100 people on the site and an average visit duration of around 4 minutes :)
Re:2048 by deletes on Monday March 10, 2014 @01:14PM (#7374214)
How many reached 2048?
Re:2048 by terabytest on Monday March 10, 2014 @01:26PM (#7374305)
The latest stats show no "game-win" events :P It might just be a matter of time though.

EDIT: oops, there was a bug in the win/lose tracking so I probably missed out on a few wins. I fixed it now, so it should hopefully track it if someone else wins!

Re:2048 by yeldarb on Monday March 10, 2014 @01:57PM (#7374538)
I just beat it! First try.. but I've been addicted to Threes for the past week or so.

http://i.imgur.com/nf25AVZ.png

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.
Re:2048 by guest on Tuesday March 11, 2014 @01:13PM (#7380649)
Re:2048 by glock18 on Thursday March 13, 2014 @03:48AM (#7390514)
http://www.screencast.com/t/NYuiFDueop8

:P I guess it was almost perfect attempt, and the quickest of mine so far (just a single 16 apart of 2048)

Re:2048 by sata-ata on Saturday March 15, 2014 @06:30PM (#7406793)
okay, and i win... and my record is 32768 score so what? it was fun) my screen: http://upload.freehacks.ru/MKPEP2 my implementation and guide you can found there: http://vk.cc/2nGPL3
Re:2048 by louisremi on Monday March 10, 2014 @02:59PM (#7374965)
Looks legit
Re:2048 by deletes on Monday March 10, 2014 @02:15PM (#7374661)
I'm gonna call fake on this one.
Re:2048 by araes on Monday March 10, 2014 @07:19PM (#7376349)
There's actually a semi-optimal strategy that nearly guarantees winning if you're diligent about it. Just build a stairstep pattern with the highest numbers in the bottom corner of the stairs. Then basically combine sideways and downward and "always" resist the temptation to push up. Its kind of how some tri-diagonal matrix algorithms work. The only problem is you have to be fastidious about never using the one direction you've reserved as your excluded case (Up in my example) as that can screw your staircase by putting a [2] right underneath your wonderful [1024]. Just move blocks back and forth, waiting for the right blocks to create combo patterns, while generally storing lower cost blocks on the outside of the stairs, and then snake them through the stairs when you get a chain set up.

Ex:

x x x 2

x x 2 4

x 2 4 8

2 4 8 16

Re:2048 by coiL10 on Tuesday March 11, 2014 @05:00PM (#7382092)
Did that, got stuck like that, pretty unfortunate.

http://puu.sh/7rKEF.png

Re:2048 by omegant on Monday March 10, 2014 @09:45PM (#7376918)
After half an hour playing blindly I realized this, but even using this it´s hard to go beyond 500
Re:2048 by rasur on Tuesday March 11, 2014 @12:18PM (#7380215)
I found one not-completely-horrible strategy was just blindly running round the curser keys.. eg. up - right - down - left, repeatedly. Got near 4000 points with that..

Great game though - wasted waaay too much time last night playing.

Re:2048 by daleco on Tuesday March 11, 2014 @01:07PM (#7380597)
It's a good start but you will get stuck at higher level. in your case focus on increasing the value on the bottom left. When possible, shift the last line to the right. Never go up.
Re:2048 by kyle_t on Monday March 10, 2014 @09:05PM (#7376793)
I was surprised at how well that worked. I was basically blindly cycling between left,down,right (with one accidental up) and got to 1024 on my first try.
Re:2048 by varyform on Monday March 10, 2014 @09:47PM (#7376925)
function press(key) { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = key; document.dispatchEvent(eventObj); }

for (y=0; y<=1000; y++) { press(39); //right press(40); //down press(37); //left press(40); //down }

this gave me 1024 in couple of tries :D http://i58.tinypic.com/am9sh4.png

Re:2048 by wmblaettler on Tuesday March 11, 2014 @12:28PM (#7380309)
Here's a random key press loop: function press(key) { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = key; document.dispatchEvent(eventObj); } for (y=0; y<=1000; y++) { press(Math.floor(Math.random() * 4) + 37); }
Re:2048 by keehun on Monday March 10, 2014 @10:47PM (#7377129)
Yes, I also discovered this after 20ish minutes of playing. If you're not diligent about it, it's very hard to recover.
Re:2048 by kaybe on Tuesday March 11, 2014 @11:14AM (#7379670)
However, I've locked myself a few times so it was impossible to go on without using 'up' (or whatever):

x x x x

x x x x

o o o o

o o o o

where at no point the same numbers next to each other allow collapsing. Maybe it's the problem not growing from the corner.. hm.

Re:2048 by anon4 on Monday March 10, 2014 @03:28PM (#7375149)
With enough tries anything is possible. There is probably even a person who ascended nethack on his first try (using the wiki of course, we're still talking things with p > 0) and didn't play it again because it's too easy and boring.
Re:2048 by eru on Monday March 10, 2014 @09:57PM (#7376967)
I've seen that. Wiki, #nethack, valkyrie, and some decent but not extraordinary luck.
Re:2048 by Leszek on Monday March 10, 2014 @10:26PM (#7377066)
And here's another win, took me a fair few hours though.

http://imgur.com/9FckZVX

Re:2048 by cousin_it on Tuesday March 11, 2014 @11:08AM (#7379617)
I'd be interested in seeing the lowest winning score, highest winning score, and lowest losing score (!)
Re:2048 by rsvidal on Thursday March 20, 2014 @04:35PM (#7438525)
Managed to purposefully lose with 627 points. Lowest I've managed to lose by. :)
Re:2048 by Chris_X on Tuesday March 11, 2014 @05:40PM (#7382358)
Beat the game: http://oi62.tinypic.com/2wdopq9.jpg

At least I don't have to spend any more time on it.

My simple strategy was to keep the biggest blocks in a corner at all times.

Re:2048 by daleco on Tuesday March 11, 2014 @01:04PM (#7380581)
It took me 2-3 hours on friday, and some luck :) http://imgur.com/PNRIfW6
Re:2048 by mschuster91 on Tuesday March 11, 2014 @12:35AM (#7377446)
I did, with 23000 points.
Re:2048 by ctdonath on Monday March 10, 2014 @01:56PM (#7374534)
Make sure not to get addicted!

Hah. It's binary crack.

Re:2048 by gopalv on Monday March 10, 2014 @05:43PM (#7375882)
Programmer Step #2 - write an automated solver :)
Re:2048 by siddboots on Monday March 10, 2014 @10:08PM (#7377009)
I thought about this for 5 minutes and really got nowhere. Can anyone come up with a nice analytic way to think about an algorithm?

There are a couple of brute force approaches: a) always pick the direction that will result in the most blocks to combine, b) always pick the direction that will result in the largest score.

Re:2048 by TophWells on Tuesday March 11, 2014 @06:47AM (#7378437)
I know someone was working on an AI that plays Threes (the game that inspired this one). Haven't seen any code from him though.

http://forums.toucharcade.com/showthread.php?p=3142737#post3...

Re:2048 by lancefisher on Monday March 10, 2014 @10:44PM (#7377116)
I think you want to keep the large numbers in the corner.
Re:2048 by sajithdilshan on Tuesday March 11, 2014 @05:47AM (#7378259)
How about using A* algorithm?
Re:2048 by vorg on Monday March 10, 2014 @07:28PM (#7376394)
> this made it to the top of HN without me even thinking of posting it here

Good for beta testing it.

Unlike with Threes, there's no real reason to use numbers since they're all powers of 2. If you used letters (A, B, C, ...) you could market it to non-HN sorts, and have a version of the game in a 5x5 grid, or, more to the point, in a 6x6 grid with letters A to Z. Most people in the world know the order of letters in English.

Re:2048 by eru on Monday March 10, 2014 @09:47PM (#7376926)
Good idea with the letters, but perhaps not necessary. People are happy with simple numbers. Just look at Sudoku which doesn't use A to I.
Re:2048 by vorg on Tuesday March 11, 2014 @01:33AM (#7377619)
I'm certain letters are necessary for a 5x5 or 6x6 board. M is better than 16,384, and Z far better than 67,108,864.
Re:2048 by eru on Tuesday March 11, 2014 @02:52AM (#7377836)
Why? Instead of A, B, C, you can go with 1, 2, 3. Ie use the binary logarithm of the numbers.
Re:2048 by vorg on Tuesday March 11, 2014 @04:33AM (#7378040)
Good idea with the simple numbers, and certainly necessary to use some tokens other than what this 2048 app uses so we can have a version of it in a 5x5 or 6x6 grid.

When you wrote "Good idea with the letters, but perhaps not necessary. People are happy with simple numbers. Just look at Sudoku which doesn't use A to I", I thought you hadn't noticed my mention of the larger grid, which was really the main point of my comment and maybe I should've worded it differently. Though if you'd begun your comment differently, i.e. "Good idea with the larger grid, but perhaps the letters aren't necessary. People are happy with simple numbers. Just look at Sudoku which doesn't use A to I", I wouldn't have felt the need to reply to correct a perceived communication mistake.

Re:2048 by eru on Tuesday March 11, 2014 @09:11PM (#7383355)
Oh, for a larger grid, you might want to have letters anyway, because your point still applies.

It's interesting that log_2 2028 is just above what you can represent in a single digit. That's very close to merging two 9s.

I'd like to actually see someone pit x, log_2 x, and letter(log_2 x) against each other in an A/B test of the game. The latter two are simpler, but the former might be more exciting, because of bigger numbers.

Re:2048 by karangoeluw on Monday March 10, 2014 @06:06PM (#7376007)
Shit I just spent like 4 hours. I have final exams next week. You are evil!
Re:2048 by a13xnet on Monday March 10, 2014 @03:07PM (#7375016)
Great "time waster" - just got 5752 score from first try! Very well executed, who cares if its a clone! :) Great job!
Re:2048 by filipm on Tuesday March 11, 2014 @06:16AM (#7378356)
Hi Gabriele, I created a mirror of your project with an easier memorable name at

http://2048.mx/

:-) Hope that's fine. It might take an hour or so for the domain to be accessible for everyone due to DNS cache.

Re:2048 by prasio on Tuesday March 11, 2014 @01:43AM (#7377643)
It's very coincidental that my game called Even, based on very similar gameplay was launched this past Friday -- http://bit.ly/even-game

(in case folks on Android want to play it)

Re:2048 by rayanm on Monday March 10, 2014 @01:02PM (#7374121)
I've started playing threes a week ago. Both threes and 2048 are fun to play. Except that I think in threes the challenge starts earlier in the game and every step counts and you can easily get into a deadlock. Can't wait to see the source code and analytics. Maybe you want to add on the page the highest score :)
Re:2048 by RealCasually on Monday March 10, 2014 @01:51PM (#7374491)
Very fun game! Love the dynamic, couldn't get higher than 256 though. Also check out Fives for Android--somewhat similar: https://play.google.com/store/apps/details?id=com.rcg.fives
Re:2048 by jackmaney on Monday March 10, 2014 @02:04PM (#7374588)
Likewise. I had one game where I had a 256 block and two 128 blocks, but I ran out of room to maneuver before I could combine the 128s to another 256 and then combine the 256s to a 512.
Re:2048 by ilovecookies on Monday March 10, 2014 @02:11PM (#7374631)
by pressing up-right-down-left, then repeat, I managed to get to 512 two times...
Re:2048 by anon4 on Monday March 10, 2014 @03:29PM (#7375158)
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.
Re:2048 by 0-o on Monday March 10, 2014 @07:58PM (#7376537)
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?
Re:2048 by ilovecookies on Tuesday March 11, 2014 @06:53AM (#7378457)
Perhaps I had a little bit of luck. But this shows you can easily get to 256 with little dedication. After which you can start to puzzle things together.

Also about your autoit "analysis" 36 + 150 + 13 != 162

Re:2048 by 0-o on Tuesday March 11, 2014 @08:16AM (#7378763)
Well, when it reaches a 256 block, it also reached a 128 block, so some games count for 2 or 3 blocks.
Re:2048 by ilovecookies on Wednesday March 19, 2014 @08:18AM (#7428089)
That's true. :)

Anyway managed to get to 1024 + 512 + 256 after that without random button mashing.

Re:2048 by wakeless on Tuesday March 11, 2014 @12:11AM (#7377374)
UUDDLRLRBA
Re:2048 by ChrisClark on Monday March 10, 2014 @02:28PM (#7374750)
I prefer Trip actually, it has the same rules as Threes, but it's much harder to get a high score compared to Fives. Because you only ever get 1, 2 or 3 as the new card, everything needs to be built up from there, it requires a lot more thought and planning. https://play.google.com/store/apps/details?id=ca.ginik.trip
Re:2048 by prasio on Tuesday March 11, 2014 @01:47AM (#7377662)
You might also want to check out Even -- http://bit.ly/even-game -- have fun!
Re:2048 by kaybe on Monday March 10, 2014 @05:52PM (#7375927)
Two hours lost at uni today and checking hn first thing back home... nooooooo! I will now proceed to waste time. Good job! :)

edit: Ok, some random friend just emailed me and told me to check out your game. This friend does not hang out at the online places I do. It seems to be on fire!

Re:2048 by infinity on Wednesday March 12, 2014 @09:27PM (#7389597)
Finally, at 2:26 a.m. I was successful with a score of 21000 ... that was fun, thank you!
Re:2048 by karangoeluw on Tuesday March 11, 2014 @10:51PM (#7383650)
Re:2048 by birdmanjeremy on Monday March 10, 2014 @07:18PM (#7376347)
Wow, that was fun, thanks! It starts to make sense after a while. Are lower or higher scores better? I'm at 21,204. http://imgur.com/4tnVPZ4
Re:2048 by toolslive on Tuesday March 11, 2014 @03:19AM (#7377881)
Re:2048 by joebobfrank on Tuesday March 11, 2014 @03:00PM (#7381399)
Even lower: 20148

http://imgur.com/28YNfDS

That's pretty damn near optimal, might have had an extra 2 when doing the final collapse, can't remember.

Re:2048 by crazykt on Wednesday March 12, 2014 @03:48PM (#7387845)
Even lower : 20132 http://imgur.com/dWiXGaW
Re:2048 by kngspook on Tuesday March 11, 2014 @05:43AM (#7378243)
Oh, _now_ you tell me not to get addicted! >:( You should've made that a splash page to the site, not an edit to a comment on the submission link.

But seriously, well done. :) Completely destroyed my productivity.

Re:2048 by mzs on Thursday March 20, 2014 @09:17AM (#7435294)
Just wanted to let you know (but wanted to wait before somebody would down vote such a comment here) that I really enjoyed your game, thanks and cheers!
Re:2048 by loahou04 on Tuesday March 11, 2014 @01:12AM (#7377561)
Thanks a lot jerk...now ive lost 2 hours of sleep because of this game! Keep up the good work!
Re:2048 by AJ72 on Thursday March 13, 2014 @01:56AM (#7390241)
Totally cool, and addictive. Not exactly news, but at another level, completely HN worthy
Re:2048 by sebastialonso on Monday March 10, 2014 @04:58PM (#7375657)
You bastard! I had to work today!
Re:2048 by SonicSoul on Tuesday March 11, 2014 @01:26PM (#7380736)
awesome game. I love the math

  2 * 1024 = 2048
  4 * 512  = 2048
  8 * 256  = 2048
  ..
  1024 * 2 = 2048
            20480 <-- minimum points
is there a elegant formula to get to the minimum required points?
Re:2048 by dbaupp on Tuesday March 11, 2014 @09:34PM (#7383418)
That's not quite the minimum points, since occasionally (10% of the time) a 4 spawns, instead of a 2.
Re:2048 by SonicSoul on Wednesday March 12, 2014 @10:21AM (#7385738)
that's incorrect.

just because a 4 gets spawned 10% of the time, doesn't mean that there couldn't be a game where 4 does not get spawned

Re:2048 by dbaupp on Thursday March 13, 2014 @04:03AM (#7390557)
4s reduce the total score. (E.g. I won with a score of about 20200 once.)
Re:2048 by SonicSoul on Saturday March 15, 2014 @11:20AM (#7404845)
i stand corrected
Re:2048 by bigmac532 on Thursday March 20, 2014 @08:00PM (#7439779)
20144 score
Re:2048 by esalman on Wednesday March 12, 2014 @02:32AM (#7384271)
Thanks for the swipe gesture support, had fun playing it on the way home.
Re:2048 by blueblob on Monday March 10, 2014 @01:06PM (#7374146)
This is very fun and addicting, now I just have to get some work done.
Re:2048 by crag on Thursday March 13, 2014 @02:14AM (#7390274)
I just wasted 60 mins playing this game. And I think I'm hooked.

I hate you. ;)

Re:2048 by elleferrer on Tuesday March 11, 2014 @06:03AM (#7378315)
Ah! This game IS addicting! My highest so far is around 3500.
Re:2048 by kartikkumar on Thursday March 13, 2014 @10:02AM (#7391806)
Extremely addictive and awesome patterns! Well done!
Re:2048 by SnaKeZ on Tuesday March 11, 2014 @04:52AM (#7378088)
Congratulazioni Gabriele ;-)
Re:2048 by sebastian_stugk on Monday March 10, 2014 @04:11PM (#7375398)
Can't stop playing ;-)
Re:2048 by mglauco on Tuesday March 11, 2014 @04:19PM (#7381852)
Great job!
Re:2048 by mantrax on Monday March 10, 2014 @03:39PM (#7375211)
"EDIT: Make sure not to get addicted!"

Oh, no we have another Flappy Story in the making here!