A command-line implementation of the 2048 puzzle game for Linux terminals, featuring both terminal and ncurses interfaces.
2048-cli is a command-line implementation of the 2048 puzzle game designed for Linux terminals. It allows users to play the game directly in their terminal using keyboard controls, offering both a basic terminal interface and an ncurses-based version for better visual presentation. The project solves the need for a lightweight, dependency-free version of 2048 that runs in server or headless environments.
Linux users, system administrators, and developers who enjoy terminal-based games or want a quick 2048 game without a graphical desktop. It's also suitable for those interested in game development with C and ncurses.
Developers choose 2048-cli for its simplicity, minimal dependencies, and extensibility—it provides a fully functional 2048 experience in the terminal with options for customization and AI play, all while being easily installable via package managers.
The game 2048 for your Linux terminal (https://github.com/gabrielecirulli/2048)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers both a basic terminal version and an ncurses-based interface for enhanced display control, allowing users to choose based on terminal capabilities, as highlighted in the README.
Allows adding new graphical interfaces by implementing functions from gfx.h and updating the Makefile, making it ideal for customization projects, as described in the documentation.
Supports adjustable board size, block spawn rate, color support, and animations via command-line options like '-s' and '-b', providing flexible gameplay tweaks.
Includes an AI option that can play automatically with or without visual display using '-I' or '-i', adding a hands-off gaming experience as noted in the options.
Available as installable packages for Debian/Ubuntu via apt and RHEL-based systems via yum, simplifying installation on supported Linux distributions, per the README.
Designed specifically for Linux terminals with no native support for Windows or macOS, requiring additional setup like WSL for cross-platform use, which limits accessibility.
Requires VT100 compatible terminal or manual Makefile adjustments to remove '-DVT100', causing potential issues in non-standard or older terminal environments.
The AI mode is included but lacks details on algorithms or sophistication, likely being a simple solution compared to advanced 2048 AIs, with no configurability mentioned.
Missing save/load functionality for resuming games, which reduces convenience for long-term play sessions, as not addressed in the README features.