Simulation for the 2048 game