# 2048 puzzle game

**URL:** https://forum.makecode.com/t/2048-puzzle-game/2269
**Category:** Show & Tell
**Tags:** game, featured-game
**Created:** [May 30, 2020, 11:04am UTC](https://forum.makecode.com/t/2048-puzzle-game/2269 "2020-05-30T11:04:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ractive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ractive/32/928_2.png) [@ractive](https://forum.makecode.com/u/ractive)
#### Post date: [May 30, 2020, 11:04am UTC](https://forum.makecode.com/t/2048-puzzle-game/2269/1 "2020-05-30T11:04:31Z")

</div>

What do I need to say about 2048? I guess most of you already spent hours gaming it… 😉

> **[2048](https://ractive.github.io/2048/)**
>
> MakeCode arcade clone of 2048

For the ones that don’t know it yet:

- Use the gamepad to move the tiles into a direction, where they slide as far as possible
- If two tiles with the same number collide, they get combined into one tile with double the value
- A new tile with the value 2 (or less often 4) appears after every move at a random position on a free spot
- The goal is to create a tile with the value of 2048 (and more)
- If there are no more spots for new tiles and no tiles can be combines anymore, the game is lost

And here’s some interesting info about the original game:

> **[2048 (video game)](https://en.wikipedia.org/wiki/2048_(video_game))**
>
> 2048 is a single-player sliding block puzzle game designed by the Italian web developer Gabriele Cirulli. The game's objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048. However, one can continue to play the game after reaching the goal, creating tiles with larger numbers.
> 2048 was originally written in JavaScript and CSS during a weekend, and released on 9 March 2014, as free and open-source software subject to the MIT license. Clones written i...

---

<div class="post-metadata">

### Author: ![2ndClemens](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/2ndclemens/32/809_2.png) [@2ndClemens](https://forum.makecode.com/u/2ndClemens)
#### Post date: [June 1, 2020, 5:41pm UTC](https://forum.makecode.com/t/2048-puzzle-game/2269/2 "2020-06-01T17:41:02Z")

</div>

Thanks, I didn’t know this game.  
It’s very addictive, couldn’t put it down till I made it to 2048 🙂  
Your implementation works fine on Meowbit.

---

<div class="post-metadata">

### Author: ![ractive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ractive/32/928_2.png) [@ractive](https://forum.makecode.com/u/ractive)
#### Post date: [June 1, 2020, 7:29pm UTC](https://forum.makecode.com/t/2048-puzzle-game/2269/3 "2020-06-01T19:29:05Z")

</div>

It’s really an addictive game. 🙂

Good to hear that it also works on the Meowbit. It also runs fine on the PyGamer.
