Share My Creation B4A My 2048 (source code)

Hello everyone,

I am excited to share with the community a new application I have developed: a 2048 game. This app is based on the popular 2048 puzzle game, where the goal is to combine tiles with the same number to reach the 2048 tile.

Features:
Clean Interface: The game features a minimalist design that ensures a smooth and enjoyable user experience.
Move Counter: Keep track of the number of moves you have made during the game.
Score Display: Your current score is always visible, allowing you to see your progress.
Best Score: The app saves your highest score, so you can always try to beat your personal best.

Feel free to use, modify, or improve the code according to your needs. Your feedback and suggestions are welcome!
I hope this will be useful to the community. Happy coding, everyone!

Best regards,

Screenshot.jpg
 

Attachments

  • My 2048.zip
    50.4 KB · Views: 140
Last edited:

Theera

Well-Known Member
Licensed User
Longtime User
How to play,I need to try it.
 

Grinaute

Member
Licensed User
Longtime User
Hello Theera,

In my personal version, I've written :
GAME RULE: Each tile moves in one direction until it meets the wall or another tile. With each move, a new 2 or 4 tile appears at a random location. When a move causes two tiles of the same value to meet, they merge into a single tile with a value equal to the sum of the two tiles. The aim is to create a tile with a value of 2048.

My wife made 2048, after many attempts, with 976 moves and a score of 20528, and the game crashed due to lack of memory, so I've optimized it in this version 2.

HighScore.jpg

Best regards,
 
Top