12 ms·
2048 in 4D
- joelrunyon 13y agoIsn't time technically 4D? So you would have to match up this puzzle with one being worked on by someone yesterday.
- dkersten 13y agoIsn't time technically 4D? Anything can technically be the fourth dimension. The thing about dimensions is that they are open to be defined as needed. You can have four spatial dimensions, you can have ten spatial dimensions. You can have ten spatial dimensions and time being an 11th dimension. Its all up to whoever is defining the model being, well, modeled.
- maaaats 13y agoNo, one is often saying the world i 3D and time makes it 4D. But there is nothing stopping you from having something in 4D where time isn't the fourth dimension.
- satchipear 13y agoThat's how Einstein defined our world. Actually it's common to see 4 (and more) spatial dimensions in some science fiction novels, including the very famous one called "Three Body Trilogy"("San Ti" in Chinese).
- nighthawk24 13y ago224!
- brugidou 13y agohow do you play with a phone? i can only swipe tiles but I cant change dimension. there need to be some sort of "two finger swipe" for WASD keys.
- dbaupp 13y agoI couldn't work out how to implement the extra 2 movement dimensions on a phone. Does JS support detecting 2 finger swipes (or something similar) in a sane way?
- iLoch 13y agoYou could separate the screen. Top half/bottom half.
- matthewmacleod 13y agoYou can certainly grab the number of touches in an event - two-finger swipe might be interesting. MDN has quite a few examples: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Touch_events https://developer.mozilla.org/en-US/docs/Web/Guide/Events/To...
- dbaupp 13y agoVery cool, thanks; I've added two-finger swipe for the extra two dimensions.
- truebosko 13y agoYou may want to check out Hammer.js (http://eightmedia.github.io/hammer.js/ http://eightmedia.github.io/hammer.js/)
- antr 13y agoRumour is King is working on "Flappy 2048" - in-app purchases available in case you run out of taps or swipes
- rplnt 13y agoFinal release name would be Binary Saga. You can pay for spawning specified numbers with 100% probability. You just don't know where they will spawn.
- vittore 13y agoNow this is actually interesting!
- LukeWalsh 13y agoOf all the spin offs that have been posted here this one is my favorite. Very little of the original strategy carries over, it's almost an entirely new puzzle. Very creative, well done!
- doorhammer 13y ago"Hoo dee doo" "4D 2048? Well, I beat regular 2048 and I'm only like 97% totally addicted to that. I'll try 4D out for a few minutes" hours pass twitch... twitch
- deleted 13y ago[deleted]
- adamwong246 13y agoI expect to see 2048 in 5 dimensions tomorrow.
- deletes 13y agoSo 2048 in 2048 dimensions after that?
- vesinisa 13y agoUnfortunately, even assuming a board diameter of 2, storing that game's any state would require some 10^435 times more bits than there are cube Planck lengths in the observable universe.
- deletes 13y agoUndoubtfully the number is really large, but I'm not sure what exactly you mean by cube Planck lengths. A comparison to atoms would be more clear. Still, it wouldn't have to. Since most arrays would have pieces with lower numbers( 2,4,8 ) you could very efficiently compress the data. At some point you would run out of memory but it would be playable. Just like those Game of Life implementations with seemingly infinite grid.
- simcop2387 13y agoif you store it with log2(n) you could easily store everything with a single byte. That brings the storage requirements down considerably. Though you still have huge issues with storage, not to mention input. For input you'd need 4096 combinations!
- dbaupp 13y agoYou can even do 2 numbers per byte (11 takes 4 bits).
- vesinisa 13y agoPlanck length is a theoretical very small unit of length in physics. It is the scale of quantum foam and several orders of magnitude smaller than all those fancy particles like quarks, electrons, protons and atoms: https://en.wikipedia.org/wiki/Orders_of_magnitude_%28length%29#Subatomic https://en.wikipedia.org/wiki/Orders_of_magnitude_%28length%... BTW you are right about compressing: you could store the initial state very efficiently, and probably even play the to the end without trouble.
- cclogg 13y agoCan someone make an MMO 2048 that flies a flappy bird every time you combine two numbers!?
- Crito 13y agoHave it jump the bird every time two numbers are combined. The strength of the jump is determined by the magnitude of the resulting number. Addendum: the shear force of combining two 1024's into a 2048 would send the bird straight into orbit, at which point the game would transition into Flappy Space Program (http://corpsmoderne.itch.io/flappy-space-program http://corpsmoderne.itch.io/flappy-space-program)
- Wohui 13y agoAnd to win you need 5 birds in orbit.
- benjamincburns 13y agoLook for new forks of 2048. $20 says someone's working on this now.
- sreyaNotfilc 13y ago...I'm gonna try anyway!
- chillingeffect 13y agoMake it 3-d print bitcoins from Raspberry Pi and I'm there :)
- deletes 13y agoedit: Looks ok, I'm confused :) It is interesting. The best way to solve it is to forget about dimensions and just learn the rules of what key does what in terms of piece movement.
- dbaupp 13y agoYou can move "up" and "down" along all 4 orthogonal dimensions; what's missing?
- Pyrodogg 13y agoIn the original 2048 I only used the arrow keys. In the 3D version I noticed it worked with WASD(QE). The arrow keys still mapped to WASD. This version separates WASD from the arrow keys, they now control completely different movement dimensions. I had to read the instructions a few times before it clicked that I had two use WASD and the arrows for two different tasks.
- tiger10guy 13y agoYou can forget about dimensions... yet it's still in 4 dimensions. That's what's so cool about it!
- tiger10guy 13y agoThanks! (in response to https://news.ycombinator.com/item?id=7417294 https://news.ycombinator.com/item?id=7417294)
- dbaupp 13y ago(I'd actually made it before that, but you prompted me to post it here. :) )
- tiger10guy 13y agoIt seemed like too short a time. I figured someone had thought of it first, but I still couldn't help saying something. Nice work!
- ShaneOG 13y agoThese games are really not good for my productivity!
- Ambrosia 13y agoi hate this game now
- tiger10guy 13y agoIt's so hard to get intuitions about higher dimensions and this seems to do an incredible job. The game is simple enough and the cardinality of the dimensions low enough (2x2x2x2) that I can actually play it smoothly (having played the original and with a bit of practice at the 4D version). Does that mean I've formed 4D intuition? I think this just happens to be in a class of 4D mechanics that's isomorphic to 2D variants, so the answer would be no. If so, how many such 2D variants are there? For those interested, 4d rubick's cube: http://www.superliminal.com/cube/cube.htm http://www.superliminal.com/cube/cube.htm
- MPSimmons 13y ago> Does that mean I've formed 4D intuition? I think this just happens to be in a class of 4D mechanics that's isomorphic to 2D variants, so the answer would be no. Yeah, when I first went to the page, I expected the numbers to start changing on their own, but I do like this version very much.
- sp332 13y agoAny discrete set of points can be losslessly represented in any positive number of dimensions. The 4d version has 16 spaces, so you could just have them all in a line for a 1d representation of the same game. There are lots of ways to lay them out in 2d, or 3d, or 4d as well. So I would say that you certainly have developed an intuition for four dimensions! You're not cheating or anything just by rearranging the points into 2d. (Continuous shapes, like solid hypercubes, are tricker ;)
- tiger10guy 13y agoThat makes sense. I think my intuitions for the discrete and continuous are similar for 2D and 3D. Are they fundamentally similar? How do they differ, even if only a little? It seems that discrete 4D intuition should somehow help with continuous 4D intuition.
- sp332 13y agoIt's all about how the points are connected to each other. In 1d obviously you can only have 2 connections per node - one to the left and one to the right. In 2d you have a lot more flexibility. You can curve lines around to make much more connected graphs. In 2d there are still restrictions though, mainly the "3 utilities problem" https://en.wikipedia.org/wiki/3_utilities_problem https://en.wikipedia.org/wiki/3_utilities_problem But in 3d, you don't have restrictions on connections anymore. You can always weave a new connection around the existing ones. In a square, each corner is connected to 2 neighbors. In a cube, each corner has 3 connections. In a 4d hypercube, the corners have 4 connections. So to make a "4d" hypercube in 3d, just draw 4 connections between corners :) https://en.wikipedia.org/wiki/File:Hypercube.svg https://en.wikipedia.org/wiki/File:Hypercube.svg Some supercomputers have nodes connected in a hyper-torus configuration. It doesn't matter how you arrange the nodes physically, they just run cables around to recreate the interconnections that would exist in a 4d torus. For 4d, it's easy enough to do the corners. Each one has 4 connections - one each for up/down dimension, left/right, forward/back, and... +W/-W direction. You can see this in the game. Each corner can move two directions in its own square, or to two other squares, total of 4 directions. If you want to do more than just corners though, it gets more complex. Think of a 3d cube http://joppi.github.io/2048-3D/?utm_source=hn http://joppi.github.io/2048-3D/?utm_source=hn A piece on the edge can move to two corners, or the center of two faces. Actually, it's easier to think of it as lots of little cubes, stuck together so you only have corners :) A 3x3x3 cube is really 8 2x2x2 cubes that share some nodes. So the block in the very center has lots of options. Up, down, left, right, forward, or backward - 6 options. That's twice as many as the corners! That's because the corners are as far as you can go in one direction, so they can only move back the other way. Pieces in the middle can move either way - exactly twice as many options. Let's make an even bigger hypercube, 3x3x3x3. That's 64 little 2x2x2x2 cubes stacked in 4d. That's 8 3x3x3 cubes that make up the "faces" of the hypercube, and each cube has 8 2x2x2 smaller cubes in it. But remember most of those nodes are shared by more than one cube/hypercube. So the corners of our hypercube can only move to 4 other spaces. A piece in an edge can move to either corner, or into one of the 3 faces. (Look again if you can't imagine all 3 faces https://en.wikipedia.org/wiki/File:Hypercube.svg https://en.wikipedia.org/wiki/File:Hypercube.svg) So that's 5 options for a piece on the edge. The middle of a face can move (say) up and down and left and right, as well as into the middle of either cube that it's on. For a space on a face, that image is actually awful. Remember, that outer cube is a whole other cube, it's overlapping all the other cubes in that picture. Try this page http://eusebeia.dyndns.org/4d/8-cell.html http://eusebeia.dyndns.org/4d/8-cell.html Anyway, a piece in the middle of a face can move (say) up, down, left, right, or into the center of either of the two cubes that it's on - one in the forward direction, the other in the +W direction. Try visualizing this for several different faces until your intuition kicks in :) Finally, the piece in the very center can move either direction in each dimension, for a total of 8 directions, exactly twice as many as the corners. It will always end up in the center of a face, because those are the only pieces it's connected to.
- joeblau 13y agoIs this winnable?
- dbaupp 13y agoYes; I've won, and I know (at least) one other person to have done so. http://i.imgur.com/tBqcjSK.png http://i.imgur.com/tBqcjSK.png
- tbenst 13y agoWould you mind trying to explain your strategy? I have little intuition for this one :p
- dbaupp 13y agoContinuously build up a specific square^, so this one I just kept moving things from the bottom right 2x2 up-and-left into the top-left 2x2. I avoided pressing S or D as much as possible (i.e. only when it was literally the only move I had, and then I'd press D (or S) once and continue as before). This means that the sum of the top-left square is strictly increasing, and so "eventually" you'll win (assuming you don't fill up the rest of the board before that). ^In this case a "square" seems like it can just be one of the 2x2 ones, but in the original 2D case, this strategy has focus on building up just a single tile (one of the corners), or it doesn't work.
- deletes 13y agoYou didn't do a lot of mashing keys right. This version really takes some thought.
- dbaupp 13y agoYeah, very litle mashing: https://news.ycombinator.com/item?id=7419731 https://news.ycombinator.com/item?id=7419731
- joeblau 13y agoHoly crap, congrats. I still haven't even beat the first game.
- primitivesuave 13y agoNothing can kill my productivity like the original could.
- jxf 13y agoI noticed I'm doing a lot better on this version than 2D 2048, presumably because each tile has more degrees of freedom (2 in the WASD plane, 2 in the arrow-keys plane).
- mturmon 13y agoI think you've put your finger on an interesting point, but it's not so easy. Since every tile in the 2x2x2x2 cube is effectively in a corner, it has only 4 valid neighbors. This is the same number of valid neighbors as the 4 interior tiles of the 4x4 game. The other tiles have 3 and 2 valid neighbors. There's another thing. It can take more moves to put a tile next to another tile in the 2x2x2x2 game because of these degrees of freedom. It's not clear to me how this shakes out with gameplay, and I've already wasted enough time on the 4x4 game that I'm scared to try the 4D game to find out!
- vorg 13y ago> every tile in the 2x2x2x2 cube is effectively in a corner Time for the 3x3x3x3 game. The board would look like a Sudoku grid.
- eam 13y agoI now want to see 2048 in 2048D.
- Gepser 13y ago836
- freefrancisco 13y agoThis is madness! The decay of western civilization is nigh! All we need is the string theory 11-dimensional version of the game to show up and doom us all!
- squintychino 13y ago2048 - the new flappy bird
- clienthunter 13y agoI use the workman keyboard layout. This was a complete mindfuck until I realised what was happening.
- elwell 13y agoIt's not really in 4D. More like: 4 games at once.
- Lerc 13y agoMuch more playable than I expected. Now someone do one based on taste and smell.
- ctdonath 13y agoAny synesthesiatics care to chime in here?
- walrus 13y agoThere's a subreddit for these: http://www.reddit.com/r/2048/ http://www.reddit.com/r/2048/
- jader201 13y agoLol. 9007199254740992. http://www.csie.ntu.edu.tw/~b01902112/9007199254740992/ http://www.csie.ntu.edu.tw/~b01902112/9007199254740992/
- jasonpeacock 13y agothis reminds me of tic tac toe ten, where the game is a meta game of itself: http://mathwithbaddrawings.com/2013/06/16/ultimate-tic-tac-toe/ http://mathwithbaddrawings.com/2013/06/16/ultimate-tic-tac-t...
- lightblade 13y agoNow, the next challenge is to build a 2048 4D solver.
- whitehat2k9 13y agoAHHHHH MY BRAIN IS FULL OF FOUR DIMENSIONAL CLUSTERFUCK
- tobeportable 13y agoWhy would one choose wasd over ijkl if foreign keyboard layouts aren't going to be supported.
- faramarz 13y agoI can't get passed 260. It's driving me insane! Any strategies you guys want to share? edit: wow! Ive only been using half of the keys! 836 booya!
- sreyaNotfilc 13y agoJust got 2340! For me, its all about looking at all three panels and making moves in the other ones that will not affect the two. That is, if I have a choice to move up or down an the other 2 panels can only move down, I would choose up. Then I can score another 4, 8, 16 or so points without changing much of the board.
- vorg 13y agoI find using both hands on the keyboard irritating. If it was possible to double-hit the up/down/left/right arrows (i.e. twice in succession quickly) to move between dimensions, then I could use it with one hand.
- the_cat_kittles 13y agowaiting on N-d
- kremlin 13y agoHas it occurred to anybody else that this is the perfect way to explain how to visualize > 3 dimensions? Using the same method for going from 3 to 4 in this game, you can go from 4 to 5, 5 to 6, etc. Potentially transformable into a really cool learning tool
- blueskin_ 13y agoThis one seems a lot harder than the original. I like it.
- snake_plissken 13y agoHow is this 4 dimensions? It just seems like 4 subdivisions that cuts down the number of inside tile corners.