01:50
2026-06-26
dev.to
artificial-intelligence
We Built a 2048 Clone, Then Taught It to Play Itself
A developer built a 2048-style tile-merging game with level-ups and confetti, then added an AI that uses expectimax search to play automatically when the user is idle. The AI, which can reach the finaβ¦