Based on the popular game 2048 by Gabriele Cirulli.
It is just a implementation with pygame
Dependency: pygame, numpy
Install requirementpip install -r requirements.txt
Just run python game_board.py
to run the game
Using arrow key to control the game
Press "r" to restart
Used pygame to create the board, and including a simple game_logic file to detect the game state(weather we have lost the game or not)
and a simple board to vistualize the game.
Scores are calculated by the eliminated blocks, and moves stands for the moves currently