A terminal-based clone of the popular 2048 puzzle game, coded in Python and playable in the command prompt, allowing keyboard input for sliding tiles and combining numbers to reach the ultimate goal.
term2048 is an open-source, terminal-based version of the popular 2048 puzzle game. It is written in Python and designed to be played directly in a terminal or command prompt window.
Like 2048, the objective of term2048 is to slide numbered tiles on a grid to combine them and create a 2048 tile. The player uses the arrow keys on the keyboard to slide all tiles in one of the four cardinal directions. Tiles with the same number that collide while moving merge into a new tile with the sum of the two previous tiles. The resulting tile cannot merge again in the same move.
As the player continues sliding tiles, the numbers get progressively higher and more difficult to combine. The game ends when there are no legal moves left to make or a 2048 tile is created. term2048 features minimal graphics for an authentic terminal-based aesthetic and is completely playable via text in the terminal.
term2048 serves as a fun example of a game that is possible to create just using text in a terminal. Its simple visuals hearken back to retro computing while still being challenging and addictive. As an open-source Python project, term2048 is also a great tool for developers looking to learn more about coding terminal games and applications.
Here are some alternatives to Term2048:
Suggest an alternative ❐