AI for the 2048 game