https://github.com/alewmoose/2048-in-terminal
Animated console version of the 2048 game
https://github.com/alewmoose/2048-in-terminal
2048 c cli game ncurses
Last synced: 2 months ago
JSON representation
Animated console version of the 2048 game
- Host: GitHub
- URL: https://github.com/alewmoose/2048-in-terminal
- Owner: alewmoose
- License: mit
- Created: 2014-09-28T15:00:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-05T03:53:26.000Z (about 2 years ago)
- Last Synced: 2025-03-17T16:11:39.946Z (3 months ago)
- Topics: 2048, c, cli, game, ncurses
- Language: C
- Homepage:
- Size: 267 KB
- Stars: 152
- Watchers: 6
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-open-source-games - 2048-in-terminal - CLI version of the game 2048 made right. (Native / Puzzle/card/board)
README
# 2048-in-terminal
Terminal-based clone of [the 2048 game](https://play2048.co/)

----
## Requirements
- GNU Make
- C compiler (GCC or Clang)
- pkg-config
- ncurses library
- ncurses development files----
## Build
Build using default parameters:
`make`
Or build with parameters, e.g.:
`make CC=clang NCURSES_LIB=ncursesw EXE=2048`
----
## Install
Install to default location (`/usr/local/bin/`):
`sudo make install`
Alter the `PREFIX` parameter to install to `/bin`, e.g.:
`make install PREFIX=~/.local`
## Uninstall
Run `make uninstall`. Specify `PREFIX` if you did so during installation.