## Playing 2048 with Minimax Part 3: How to control the game board of 2048

…and finish implementing the minimax algorithm In this article, we will finish implementing the minimax algorithm for playing the 2048 game, and then we will use this implementation to automatically play a web version of this game which can be found on this Github page. Here is the previous article about Read more…

## Playing 2048 with Minimax Part 2: How to represent the game state of 2048

And how to do it in an object-oriented fashion In the last article about solving this game, I have shown at a conceptual level how the minimax algorithm can be applied to solving the 2048 game. But to put those ideas into practice, we need a way of representing the Read more…

## Playing 2048 with Minimax Part 1: How to apply Minimax to 2048

2048 — a simple game, but programming a computer to solve it it’s not trivial Minimax is an algorithm designated for playing adversarial games, that is games that involve an adversary. In this article, we’ll see how we can apply the minimax algorithm to solve the 2048 game. This is Read more…

## Understanding the Minimax Algorithm

Playing games with AI Let’s say you play a game with a friend. And the metric of “how good you perform in that game” is measured by a numeric score which increases when you get closer to “winning the game” than your friend and decreases when your friend gets closer Read more…