Welcome to this week’s Math Munch! It’s a week of mathematical games, including a devilish little game and variations on the theme.
First up, check out this simple little game called 2048. Really, you must go try that game before reading on.
2048 was created by Gabriele Cirulli, a 20-year old who lives in northern Italy. He was inspired by a couple of very similar games called 1024 and threes, and he wanted to see if he could code a game from scratch. Nice work, Gabriele! (Stay tuned for a Q&A with Gabriele. Coming soon.)
The first time I played, I thought randomly moving the pieces around would work as well as anything, but wow was I wrong. Give it a try and see how far you get. Now watch how this AI (artificial intelligence) computer program plays 2048. You’ll probably notice some patterns that will help you play on your own.
Did you notice that the smallest tiles are 2’s, and you can only combine matching tiles to create their double? This makes all of the tile values powers of two! (e.g. 2048=2^11) These are the place values for the binary number system! (Did you see our recent post binary?) This has something to do with the long chains that are so useful in solving the game. It’s just like this moment in the marble calculator video.
If you’re finding 2048 a bit too hard, here’s an easier version. It’s called 4. It’s a little silly, but it’s also quite interesting. After you make the 4 tile (tying the world record for fewest moves), click “keep going” and see how far you can get. I’ve never been able to get past the 16 tile. Can anyone make the 32? What’s the largest possible tile that can be made in the original 2048 game? Amazingly, someone actually made a 16384 tile!!!
Silly versions aside, there are lots and lots of ways you could alter 2048 to make an interesting game. I wondered about a version where three tiles combined instead of two, but I couldn’t quite figure out how it would work. Can you? (See below.) When I thought about different types of numbers that could combine, I thought of the perfect thing. The Fibonacci numbers!!! 1, 1, 2, 3, 5, 8, 13, 21, … The great thing is that someone else had the same idea, and the game already exists! Take some time now to play 2584, the Fibonacci version of 2048.
2048 and 2584 might seem like very similar games at first, (they’re only 536 apart), but there are some really sneaky and important differences. In the Fibonacci version, a tile doesn’t combine with itself. It has two different kinds of tiles it can match with. I think this makes the game a little easier, but the website says 2584 is more difficult than the original. What do you think?
I have a few more 2048 variations to share with you, as if you didn’t have enough already. These are my favorites:
- Here’s a tough little 3D version.
- But I actually prefer this tight 2x2x2x2, 4D version.
- Here’s a clever little spin. Combine fractions to add up to 1.
- If you need more room, try playing 2147483648.
- One more silly one, here’s Jenny Peng’s easy version
- Someone figured out how to do the three tile version. Check out 243.
- Many more on this big long list of variations.
I hope you dig into some of these games this week. Really think and analyze. If you come up with clever strategies or methods to solve these puzzles, please let us know in the comments. Have a great week, and bon appetit!