black = (0, 0, 0)
white = (255, 255, 255)
yellow = (255, 255, 0)

# Dictionary mapping from values in the game to the colors of the corresponding tiles
colors = dict()
colors[0] = black
colors[2] = (250, 235, 215)
colors[4] = (205, 192, 176)
colors[8] = (255, 153, 18)
colors[16] = (255, 100, 3)
colors[32] = (255, 64, 64)
colors[64] = (255, 0, 0)
colors[128] = yellow
colors[256] = yellow
colors[512] = yellow
colors[1024] = yellow
colors[2048] = yellow
colors[4096] = black
colors[8192] = black