Making Change in 2048

04/19/2018
by   David Eppstein, et al.
0

The 2048 game involves tiles labeled with powers of two that can be merged to form bigger powers of two; variants of the same puzzle involve similar merges of other tile values. We analyze the maximum score achievable in these games by proving a min-max theorem equating this maximum score (in an abstract generalized variation of 2048 that allows all the moves of the original game) with the minimum value that causes a greedy change-making algorithm to use a given number of coins. A widely-followed strategy in 2048 maintains tiles that represent the move number in binary notation, and a similar strategy in the Fibonacci number variant of the game (987) maintains the Zeckendorf representation of the move number as a sum of the fewest possible Fibonacci numbers; our analysis shows that the ability to follow these strategies is intimately connected with the fact that greedy change-making is optimal for binary and Fibonacci coinage. For variants of 2048 using tile values for which greedy change-making is suboptimal, it is the greedy strategy, not the optimal representation as sums of tile values, that controls the length of the game. In particular, the game will always terminate whenever the sequence of allowable tile values has arbitrarily large gaps between consecutive values.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/08/2022

An optimal MOO strategy

We calculated a fixed strategy that minimizes the average number of gues...
research
02/11/2021

Common Information Belief based Dynamic Programs for Stochastic Zero-sum Games with Competing Teams

Decentralized team problems where players have asymmetric information ab...
research
01/27/2021

Impartial games with entailing moves

Combinatorial Game Theory has also been called `additive game theory', w...
research
11/24/2021

Characterization of canonical systems with six types of coins for the change-making problem

This paper analyzes a necessary and sufficient condition for the change-...
research
01/05/2023

Diagonalization Games

We study several variants of a combinatorial game which is based on Cant...
research
12/29/2020

Autocratic Strategies of Multi-State Games

In a single-state repeated game, zero-determinant strategies can unilate...
research
05/24/2023

Deterministic Algorithmic Approaches to Solve Generalised Wordle

Wordle is a single-player word-based game where the objective is to gues...

Please sign up or login with your details

Forgot password? Click here to reset