Questions tagged [2048]

2048 is an open source tile-based puzzle game. Questions with this tag should be either about implementing the game or implementing solving strategies. Ask on https://gamedev.stackexchange.com/ if it's a specific game development issue. Ask on https://gaming.stackexchange.com/ if it is about playing the game.

2048 is an open-source app created by Gabriele Cirulli, an Italian developer, as a clone of 1024. The game is a 4x4 grid that starts out with two tiles. Each tile is either a 2 or a 4. When the player swipes either up, down, left, or right, all of the tiles move in that direction and a new tile appears in a random spot. When two tiles of the same number are pushed together, they merge and form a new tile with twice the value. The object of the game is to form at least one tile with a value of 2048.

Questions with this tag should be either about implementing the game or implementing solving strategies. Ask on https://gamedev.stackexchange.com/ if it's a specific game development issue. Ask on https://gaming.stackexchange.com/ if it is about playing the game.

62 questions
-2
votes
1 answer

programming 2048 with matlab

I'm actually new to matlab and trying programming this game...The problem is when i input 2 or 6 my program must add a random new number between 2 and 4 instead of zero but it doesn't..pls help me to find where is the problem...I'm almost sure for…
Erfan
  • 35
  • 2
  • 10
-3
votes
1 answer

2048 game, help me debug

I have different cases up, down , left and right. Sometimes the choice is not valid and the user is required to input another choice. For example, I want to shift the elements up, but all of them are placed up already, the program shouldn't generate…
1 2 3 4
5