2048 in the Terminal

This is a version of the classic game 2048 adapted for a terminal, using ncurses.

This is adapted from code I wrote during my CMU operating systems course. The original game was very low-level, interacting with hardware interrupts, implementing device drivers, etc. This version is at a much higher level; though I am still using much of the original console code, most of which could be replaced with ncurses (with some effort).

You can find the code for the game here.

Here is a brief video of gameplay.

Updated: