119 comments

[ 3.4 ms ] story [ 152 ms ] thread
Welp, there goes my productivity for the next week.
As if single-player hadn't ruined my life already -.-
Yeah. I just need to get a game in before I start my work day
I'm having some difficulty getting competitors, with no indication of how long it will take to find one, and when I did find one, about 3 seconds into the game I was told I lost with my opponent having performed no moves. I feel like this needs some work.
I got a competitor pretty easily, but we won in few seconds (both of us)... something is wrong.
Seems rather buggy to me I'm afraid. I've observed:

* Timer runs out, game proclaims both players winner

* One opponent makes no moves for the entire game, proclaimed winner when timer runs out

* One player proclaimed loser at arbitrary point with timer still running and legal moves left in play

he was too quick to release...
I will add to those: * sometimes system gets stuck and no competitor is found (well - maybe there really is no one else) * once board was loaded, for competitor blocks were moving so fast as if computer would play or some sort of bot
Everyone I played seems to be a bot - or they have super-human finger speed!
I "seed" my game by mashing < ^ > keys for a few seconds, then play normally.

I might revert to mashing if I free up some space.

edit Though the game also appears to be broken. This is my single player strategy too :)

You can semi-mash all the way up to 512 safely if you watch out for block buildup.
up-left over and over. when the top row is full, and your high block can't move right, you can move right. other than that, you up-left until you jam.
You can get pretty fast fairly easily. Just got the first 256 tile in 35 sec, first 512 tile in 1:12.
How do I play this with a friend?
Nice idea, but I don't believe there are no opponents available with this #1 on HN ...
I've found a couple of issues:

- With a clear point advantage still both players get declared winner

- After one move I was declared loser, while actually I made the only move and it was a valid one as well, with loads of options left (as it was the first move)

- It thinks the game is finished on random occasions.

Apparently you lose by getting the higher score.
All the players I played against play blazingly fast, seems almost just mindless bashing. Is it just me who actually takes their sweet time thinking about every move?
(comment deleted)
I bash at the beginning because it's timed. Then, once I have a larger number on the board I begin playing normally.
(comment deleted)
Someone plz come online, i couldn't find any competitors.!
Works "fine" in chrome, not firefox (perhaps due to some add-ons)
no, it doesn't work "fine" in chrome either. it's just very buggy
That's why I've put the fine in quotation marks. I just wanted to say that I could get an opponent in chrome (but now also in ff).
What's next? Multiplayer 2048 AI vs AI…
Next is the MMO.
I just entered here to say that. Let's just wait to see how much time it takes.
I would bet on 2048 Co-op. Like Twitch and crowd sourced Pokemon :)
Why not? That would be awsome. There's already a python repository for interfacing with bots, and it works using unix socket. It's here: https://github.com/matslindh/4096

I'm not sure 1vs1 battle matches is the best idea (it's not chess), but it shouldn't be too much hassle to make it into a platform that tracks the highest scores, best averages etc. It could be divided into different time controls (1 sec per move, 3 minutes per game etc.). The point would be to see who could make the best AI.

It could have a simple flask app, or similar, that just shows the high scores and makes it possible to reserve bot names (so other people can't play as you.)

I'm just putting ideas into someones (noones) head. But if people who's currently/who wants to play with 2048 AI responds to this, I might make an effort to get it starting.

2048 is HN's Flappy Bird
LOL. Have you tried randomly hitting all the keys until you are around 128? :-)
Next up: Twitch Plays 2048
Someone tried it, but when I found the stream it was inactive.
Ah, you beat me to this!, haha :D
Dude, we need to work. Please stop making variations of a highly addictive game. You’ve already destroyed our lives. Show some mercy.
I got yelled at by my boss yesterday. :(
I am worried about that right now ... more precisely the Boss' Executive Assistant
Why? Did you only get up to the 512 tile or something?
Do we need an Indiegogo project to raise funds to pay them to shut it down and stop making variations?

:)

While driving home from work, I almost thought about speeding into the car in front of me because it would make big number.
how does one almost think?
I guess it was more like, an impulse, not a conscious thought. So I had an impulse to do it, but never actually thought about doing it, and didn't realize what I had almost done until I was at a complete stop.
When I was in college, me and my project team mates used to go to this fabrication workshop for project work once per week. I was kind of a counter strike addict in those days. The workshop was inside an old building and at one particular spot, I used to feel like hiding behind the wall!
Someone please make multiplayer version where second player can be chosen by sharing link.
This was the original plan, but I expanded it. I should be able to add it in the near future.
use webrtc, easy. then you wont even need your own backend.
webrtc is so unreliable (working on a project right now). For quick backend, use Firebase!
"I am sorry '2048' users, 22 hours from now, I will take '2048' down. I cannot take this anymore."
The Flappy Bird Effect: When a simple game rises in popularity leading other hackers to build an AI and multiplayer versions of it leading to its own demise.

We should expect Gabriele Cirulli to be in Rollingstone next. :p

Like Tetris, just add some demise?
I'm convinced that there's a whole new ecosystem of hackers that will exist solely to clone simple games which rise in popularity.
Fear not. I don't plan on pulling a flappy bird. Although I now kind-of understand what Dong Nguyen might have felt like, even if at a much smaller scale.
Unlike him, I hope that you're smart enough to use your newfound power for evil.
Unfortunately, either it's broken or everyone stopped playing it. It hasn't found any competitor after about 5 minutes of searching.
I did not sleep last night. I did not work the whole of yesterday (well, I resigned from my job yesterday). Please keep the game up till I start my new job.
what did you mean?
nice site...
I wonder what is it about the game that makes it so addictive.
Well first of all it seems easy enough to do. The concept sure is easy. Then you find that it's actually quite interesting and new to you. Then, perhaps most importantly for the addictive effect, is that making the moves and going from dieing to restarting the game is so fluent/quick that it's just long enough for you to think "ah, I'll do one more, this wont won't take long". That plus the fact that it's really not that easy to win made it highly addictive for me.
Hmm, I won despite my opponent having a higher score.
Just been won over by a bot.
Make the autorun a screen saver next.
Pretty decent. I love how you made the loading animation for the loading dots at the end of "Searching for competitor..."!
Yes, that part looks pretty neat. Have you been able to get it to do anything else?
function arrows(key) { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = key; document.dispatchEvent(eventObj); } for (y=0; y<=1000; y++) { arrows(39); arrows(40); arrows(37); arrows(40); }

It works nicely in multiplayer as well. My opponents are probably often surprised. (js credits: varyform)