A 2048 game. You can change the grid size.
you can custom the colors by changing the rgb values in the colors list, you can change the gradient of color used for the color of the squares of the number by replacing the second argument’s rgb values when creating the gradient variable.
How to play:
Enter a number between 4 and 8 in the console when asked, it’s the gride size.
Arrows to play.