diff --git a/src/games/2048/2048Logic.js b/src/games/2048/2048Logic.js index 370a008..903307c 100644 --- a/src/games/2048/2048Logic.js +++ b/src/games/2048/2048Logic.js @@ -29,9 +29,9 @@ export function buildTilePalette(scheme) { return palette; } -// Returns 11 hex color strings for tile text (light on dark, dark on light) +// Returns 11 hex color strings for tile text — white on all dark-themed tiles export function buildTextColorTable(palette) { - return palette.map((_, i) => (i >= 5 ? '#ffffff' : '#1a1208')); + return palette.map(() => '#ffffff'); } // Map tile value (2..2048+) to palette index 0-10