My first game with Pico-8, Pico-2048 !
I like to start a new game engine by program a classic ... yes, 2048 is now a classic ^^
They have two different concepts with "2048". I don't know which is the best and let's players decide.
Near "Three" where tiles moving step by step. I like this version, it's more strategic and the player can do what he really want :
Near the original "2048" where tiles moving until they can't. More action, more luck ... more fun :
--- GOAL ---
Move tiles with the d-pad.
Reach the 2048 tile ... and more if you can.
--- CONTROLS ---
<left><right><up><down> To move tiles number
After Game Over :
<z> To replay
Before Game Over :
<z> To modify background color
<x> To modify text color
Original 2048 concept by Gabriele Cirulli
Have fun !
-- From the latest version --
1- Add animation when tiles move !
2- Tiles move until they can't (in the "2048" version)
3- Modify the game over : For the moment, I don't check if the player can move. Indeed, if the board is full after putting 3 times a direction, that's create a Game Over.
4- Add a little sound when player put a button.
5- Add two versions of the same concept. Play what do you like.
Know bugs :
1- After 32768 points, the score reboot ... Someone know a method to have a big score ?
2- Sometimes after merge, tiles don't move until they can't. I know where I'm wrong and repair that soon.
1- Add effects when a tile merged or a new tile appear.
2- Add pretty good music (Thanks adge)
3- Optimize a lot of part of the code.