g2048.py

Created by ziii

Created on September 09, 2023

4.95 KB

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.


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.