2048 RunnerNavigate through a series of gates and cubes, avoid the negative gates and go in the positive ones and…