laumars 12 years ago

Nice idea, but I suspect it's impossible to complete on a 4x5 grid.

An interesting addition might be the ability to wipe a line out if it's all of the same number.

edit: gah. this is really annoying me now because the controls to slide squares left or right only works about 50% of the time so I end up with lots of the same numbered squares adjacent to each other and no way of merging them. Which makes chaining a few squares together virtually impossible because at least 1 of every 3 left-right slides will fail:

http://www.armyofcrabs.com/rand/2048.png

  • intull 12 years ago

    Or maybe multiply that by 4 and up our chances of reaching 2048!

  • TazeTSchnitzel 12 years ago

    I don't think it's impossible, you just need to combine as much as you can in your limited time in a move.

    • laumars 12 years ago

      That's what I was trying to do. Hence the screen grab :)

  • giarc 12 years ago

    It seems like you can only move the active square. Example, combine 2 + 2 --> 4 can move this 4 to combine with an adjacent 4. But if another tile comes into play, those two adjacent 4's are toast until you make it an 8.

    That's probably not understandable....

  • prat0318 12 years ago

    Hey, from the author. I dont think it is impossible (it is hard though). Wiping a line is not necessary you can slide left or rigt to collapse them.

    But, i am also increasing the tendency of the block to freeze stronger as it moves down (i.e. with its every movement), so that sliding left or right doesnt become that easy.

    There were few bugs with that, which i fixed. Does it still sound unreasonable.

jiggy2011 12 years ago

At this rate somebody needs to create a 2048 homepage with links to the various versions.

danbruc 12 years ago

When ever I want to grab one of my super awesome platform specific tools I tame my enthusiasm and say to myself: Yes, JavaScript and HTML suck, but we all suffer for a greater good - we can build platform independent solutions and not discriminate anybody for their processor architecture, operating system or browser. And then somebody slaps it directly into my face: IMPORTANT: This game only works on the latest versions of Firefox and Chrome browsers.

arikrak 12 years ago

Economist Article from 2016: Some economists think that the startup bubble burst in 2014 due to the sudden appearance of games based on the number 2048, which caused nerds everywhere to drop their startups and merge powers of 2.

kissickas 12 years ago

Possibly inspired by the current xkcd comic (note the alt text)

http://xkcd.com/1344/

Edit: Whoops, it was put on github beginning 10 days ago. Just a coincidence, then, I guess.

  • fbeans 12 years ago

    I think you are mixing up cause and effect. XKCD is based on this game.

    • kissickas 12 years ago

      Based on this particular version of the game?

      • roryokane 12 years ago

        He misspoke. The xkcd comic is based on the original 2048, not this Tetris version.

aardvark179 12 years ago

Hmm, combining blocks by sliding in below the top a stack can leave the top of the stack floating in space when the new combined block merges with the block below it, and this feels weird. Then if you combine something with that floating block it will fall, closing up the gap and then potentially combine with the block it landed on.

  • mistercow 12 years ago

    A similar weirdness is that it doesn't feel like it should be possible to ever have two of the same number stacked vertically. Feels like the rule should be essentially that "down" is pressed at the end of every turn until it stops compacting.

  • prat0318 12 years ago

    Yeah, i noticed that as well while testing. Fixed it now.

uptown 12 years ago

YCombinator asks for solutions to the world's water, food and energy problems. Instead they get 37 incarnations of 2048.

  • netcan 12 years ago

    And poetry, prose, movies about aliens and smart-ass comments.

    :)

    Even people without regular meals sometimes tell jokes or play snakes and football.

    • saraid216 12 years ago

      Yeah, but you don't have to do it here.

      • netcan 12 years ago

        I agree, it's ironic.

valtron 12 years ago

A first approximation for a strategy would be to follow a boustrophedon, and keep 2, 4 and 8 near the top, e.g. something like this:

    .   .   .   .
    .   4   2   .
    8  16  32   .
  512 256 128  64
  • laumars 12 years ago

    This is what I tried to do, but you need to get the timing perfect after doubling up the right hand 64 to link that left 3 times. So perfect, in fact, that you'll only manage it roughly every other time:

    https://news.ycombinator.com/item?id=7436184

izzydata 12 years ago

Pretty cool, I assume it is possible to win because a good strategy in the original was to only use 3 directions anyway. I might try it soon, but unlike 2048 you can't wait to think once things get tight.

Pxtl 12 years ago

The timing seems horribly inconsistent - most good combos depend on "sweeping" your collapses, but it seems to "drop" the block without my request sometimes during merges.

  • prat0318 12 years ago

    It always tries to collapse downwards whenever a merge is possible. I thought this way to avoid any floating blocks. Any better ideas?

Crito 12 years ago

Possible bug report: http://i.imgur.com/XwEiPVI.png

The bug is the two "4"s sitting on top of each other in the left column.

I did that by first sitting a 4 on top of a 2:

  4
  2
  64 16

Then dropping a 2 down on the column to the right:

     2
     v
  4
  2
  64 16

Then finally sliding that 2 left one before it had a chance to settle:

  4
  2  2<-
  64 16
  • prat0318 12 years ago

    Thanks for the report. Fixed the bug now.

    • kissickas 12 years ago

      Has it been updated on the site? I keep having the same issue, although I'm not sure it's a bug since gravity doesn't matter anyway...

      Awesome game, by the way!

      • prat0318 12 years ago

        Yeah, i had pushed the changes. It will be awesome if you can give a screenshot.

        • kissickas 12 years ago

          Working now, but thanks for drawing me back in for another fifteen minutes... :)

nalidixic 12 years ago

Neat take on the game but if you get a low numbered piece stuck on the bottom row and then covered with higher number pieces it's impossible to use it.

  • tensaix2j 12 years ago

    You still can merge by left-right.

  • prat0318 12 years ago

    Yes, the left right merge is still possible, just that the action is to be taken quickly, as the falling block freezes very soon.

yathern 12 years ago

I finally managed to complete it! I was very proud too - I managed to complete it with no residual blocks. Here is a bit of proof:

http://imgur.com/2fSkkNT

prat0318 12 years ago

Update: Thanks for the response guys, I am seriously overwhelmed. I have added easy/hard levels to the game. [Hard level needs some really quick finger movements].

daturkel 12 years ago

Please implement a pause! Love it though. This really fundamentally twists both 2048 (threes) and Tetris.

  • prat0318 12 years ago

    Added now. Thanks for the suggestion.

fuzzythinker 12 years ago

Why alter the spacebar to be start over? It's the common key in tetris to drop the block!

  • prat0318 12 years ago

    I kept the controls similar to 2048.Was not aware of space thingy in tetris while writing the code.

userbinator 12 years ago

Can't wait to see someone mix in a bit of bird-flapping action.

reshambabble 12 years ago

This is by far the best. version. yet.

thrillgore 12 years ago

First, we kill the 2048 clones.

loceng 12 years ago

That was fun.

_cbb1 12 years ago

this game is addicting. :)

intull 12 years ago

I loved this the most!

joewrong 12 years ago

They slide.

  • teach 12 years ago

    Usually.

    • prat0318 12 years ago

      On going down, i am accelerating the freezing of the block. Hence, it is harder to slide as block reaches down.