Terminal version of 2048 game