Welcome to: 2048 in Python!
But its janky
Hi! You read the title im guessing, its the game 2048. This is a game where you use the arrow keys (Or WASD) to move around pieces in a board, and if you combine two like things (like 1 and 1) it creates a bigger number (In this case 2). Your goal is to keep the board as clear as possible, all the while getting as many points as possible! The higher numbers you combine, the more points you get!
1) Once the screen is full, it is game over, even if you can make a move. So make sure to clear the screen!
2) For all you people that are going to scream at me in the comments, yes i did use 1,2,3 etc instead of 2,4,8 etc. The reason is because i didn't feel like dealing with multi digits (16,128 and others). So i just used 1-9. Also there is a 0, and if you actually make it to that and combine them it just gives you another 0
Comment your high score!
@PattanAhmed ooooooooooooof i dont really know pygame but yea sure, ill give it a shot
You might have to teach me a few things though so yeaaaaaa.
Also right now im in school, so i cant really do anything unless its going to be less than half an hour, in that case i can do it in ten minutes, or 1pm for me. If its longer, then i can do stuff at about 4pm for me, or in about 3 hours
Really nice job muffinlovania.
but in 2048, numbers go up in this fashion: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048. not this: 1, 2, 3, 4, 5, 6...2048. I was wondering if you could fix this?
@DarkswordsmanJG so you use the arrow keys, and this moves all te pieces in that direction. If it hits a piece that is the same as it (1 hits a 1 or 2 hits a 2), then it combines to make a bigger number (1 and 1 is 2, 2 and 2 is 3). Your goal is to combine as many pieces as possible, while more appear each turn. If the board fills up you lose!