Lurker News

Comments (410) 175 threads

Show all comments

Showing thread 1 of 175

terabytest35 replies#
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)!

iamdanfox1 reply#
Out of curiosity, I'd love to hear what your Google Analytics graphs look like! How long to people spend playing it?
terabytest1 reply#
Right now there are around 2100 people on the site and an average visit duration of around 4 minutes :)
deletes4 replies#
How many reached 2048?
terabytest3 replies#
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!

deletes2 replies#
I'm gonna call fake on this one.
anon41 reply#
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.

Continue this thread — 1 reply

araes6 replies#
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

kyle_t2 replies#
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.

Continue this thread — 2 replies

omegant#
After half an hour playing blindly I realized this, but even using this it´s hard to go beyond 500
keehun1 reply#
Yes, I also discovered this after 20ish minutes of playing. If you're not diligent about it, it's very hard to recover.
kaybe#
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.

rasur#
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.

daleco#
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.
terabytest9 replies#
If that's real, congrats! I had started doubting that anybody would ever win the game :P

Continue this thread — 9 replies

louisremi#
Looks legit
cousin_it1 reply#
I'd be interested in seeing the lowest winning score, highest winning score, and lowest losing score (!)

Continue this thread — 1 reply

mschuster91#
I did, with 23000 points.
Chris_X#
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.

rayanm#
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 :)
blueblob#
This is very fun and addicting, now I just have to get some work done.
palakchokshi1 reply#
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. :)
phillmv6 replies#
Holy shit I just lost like 45 minutes to this.
wiredfool1 reply#
Evil evil game.
wiredfool1 reply#
And to quantify the evilness -- 1024 and exactly 12000 points.

Continue this thread — 1 reply

terabytest4 replies#
I've been playing this all day today. I basically created my own demise.
eru7 replies#
Just be glad you are already immune to Tetris.

Continue this thread — 7 replies

prasio1 reply#
I launched a very similar called Even last week on Android -- http://bit.ly/even-game -- have fun!

Continue this thread — 1 reply

nevvvermind#
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!
andrey-p1 reply#
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.

Continue this thread — 1 reply

vjdhama1 reply#
I lost my whole damn day.
georgeg#
lost precious time for thesis writing! evil game!
Trufa#
Two hours straight and managed to get once to 1024.
gotts#
just spent a few hours on this. I'm in love-hate relationships with the author now
elwell#
"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.

jackmaney1 reply#
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.
ilovecookies6 replies#
by pressing up-right-down-left, then repeat, I managed to get to 512 two times...

Continue this thread — 6 replies

ChrisClark#
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

Continue this thread — 1 more reply

Continue this thread — 29 more replies