Okay , You want to play 2048 on your little CLI based terminal . there is awesome Github project Bash2048 . okay follow these simple steps to get it working in your ubuntu or any *nix based env.
just you need one raw file of bash to get it working . ..
wget https://raw.githubusercontent.com/mydzor/bash2048/master/bash2048.sh chmod a+x bash2048.sh mv bash2048.sh /usr/local/bin/2048
now you can access 2048 from your terminal just type 2048