We both like playing the game 2048, so we have therefore decided to create the game in the c++ language.
Executes a series of commands using functions and a random number generator to allow the user to play the well-known game 2048.
We used a 4x4 array to add and remove numbers, and used a series of functions in order to determine what action needs to be done according to what the situation is in the game.
It was hard for us to determine the layout of a few functions in the program.
The program runs flawlessly and the user can play 2048 freely.
We learned how to use another type of arrays in c++.
We will try to add a score counter and improve the general UI of the program.
Log in or sign up for Devpost to join the conversation.