Live data from Hacker News

2048

gabrielecirulli.github.io

221–230 of 423 posts

Re: 2048

#221
post #177
post #82

Earlier quoted context omitted.

I'm gonna call fake on this one.

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 direc…

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

#222

First of all, kudos on a well designed game. It's obvious you've made something pretty addictive, as evident by the place on HN and the responses you're getting here. One thing I've found out is that you can pretty easily get to at least 512 or higher just by repeating the following pattern: right + down + left + down Try it out and you'll quickly see how it works. Any other similar pattern would also work: right + d…

I managed to beat it following a basic pattern similar to yours: 1) Mash up-left (or towards any corner) until blocks stop moving 2) Press right 3) Start over The trick is to keep the high numbers in the top corner so the new numbers don't spawn behind it, you basically start building towards that corner and things start to work themselves out. Like you, I had to do a bit of actual logic near the end, you can see tha…

This works remarkably well. There are some spots where you have to apply logic -- in particular, I found that I progressed best when I built out the top row with my highest blocks (and then push/cascade my next highest block into the top when it got to be high enough) and I occasionally had to mash up-right rather than up-left to make that happen.

Re: 2048

#223
I wrote a version myself in python and have been playing with strategies. It seems fairly resistant to simple greedy strategies (maximize highest score/maximize empty squares/etc).

In terms of "blind" strategies [up, right, down, left]* works pretty well, but [up, right, up, left]* is by far the best I've found. It gets to 512 about 30% of the time (!), with about 0.2% hitting 1024. Still haven't seen a "win" using the blind strategy in several 10,000s of runs.

Re: 2048

#224
Not many posting winning scores, so here's mine: 2048 and 20368 points

http://imgur.com/c3aHuT4

I'm not going to claim it was first try. Probably my tenth. However, I got much better at avoiding the key mistakes:

- Always keep your highest number in a corner

- Use the rest of that edge as a "staging area" for the components that can next double the highest tile. Work the other tiles toward the opposite corner on that side and then double them upward into the highest corner.

- When you double the highest corner, you'll expose the "staging area" side. During this time, quickly work number back to fill that side so you avoid being forced to move the highest number out.

- NEVER let yourself fill a 3x4 grid. This will force you to move the highest column away from the edge and will probably end the game in a handful of turns.

Re: 2048

#225

Hey guys! I made a multiplayer version of this game in about an hour or so. (Twitch plays pokemon style) http://hnplays2048.herokuapp.com/ Check it out! Or clone it! https://github.com/grant/hnplays2048

I got a 1024 and a 512 playing alone, then somebody appeared and screwed the game in 10 seconds. The "Twitch plays pokemon style" is an very apt.

Re: 2048

#227
5000 pts just doing up, down, left, right

I scored worse by actually thinking and applying strategy. this IS a difficult game.

Re: 2048

#228
post #52

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…

Holy shit I just lost like 45 minutes to this.

just spent a few hours on this. I'm in love-hate relationships with the author now

Re: 2048

#230
Totally nerd sniped on this one. Will never get those hours back :-)

Meta question: Would it be possible to get 4096?

Post reply on HN