Console implementation of the 2048 game