An algorithm to auto-solve 2048 game using minimax algorithm along with alpha-beta pruning.