• Stars
    star
    146
  • Rank 252,769 (Top 5 %)
  • Language
    C
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Animated console version of the 2048 game

2048-in-terminal

Terminal-based clone of the 2048 game

screen


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 <PREFIX>/bin, e.g.:

make install PREFIX=~/.local

Uninstall

Run make uninstall. Specify PREFIX if you did so during installation.