2048 game implemented with ncurses