This is a hobby project. Cope the project from below links, and enhance them to make easy operation, or more features.
http://www.grantjenks.com/docs/freegames/index.html
couple small games, unbeleivable simple and small program in python
https://github.com/yangshun/2048-python
Based on the popular game 2048 by Gabriele Cirulli. The game's objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048. Here is a Python version that uses TKinter!
1, bind arrow key (left,right,up,down) event for easy operation;
2, add more comments for logic, cover_up is actually move left;
3, change grid to 5 for more fun, change font so it fit the screen size;
To start the game, run:
$ python 2048.py
program and poem