Azul Engine Puzzles

Puzzles

Azul puzzles: find the best move.

231 positions from games the engine played against itself. In each one a single move beats every other by at least 3 points, and the engine checked it by searching the rest of the round. Play your answer on the board: the engine's analysis stays hidden until you move, then it shows why.

Today's puzzle Start from puzzle 1

231puzzles, a new one each day
17where one move wins the game
57where the best move puts tiles on the floor

Puzzle 1

10 to 7 on the board. The best move is worth 3.3 points more. Find it.

Puzzle 2

12 to 10 on the board. The best move is worth 5.9 points more. Find it.

Puzzle 3

0 to 4 on the board. The best move is worth 4.4 points more. Find it.

Puzzle 4

31 to 20 on the board. The best move is worth 3.0 points more. Find it.

Puzzle 5

30 to 36 on the board. The best move is worth 9.0 points more. Find it.

Puzzle 6

18 to 19 on the board. The best move is worth 5.0 points more. Find it.

Puzzle 7

27 to 28 on the board. The best move is worth 9.0 points more. Find it.

Puzzle 9

17 to 11 on the board. The best move is worth 4.0 points more. Find it.

Puzzle 12

21 to 25 on the board. One move wins the game. Find it.

Puzzle 13

5 to 14 on the board. The best move is worth 5.0 points more. Find it.

Puzzle 19

16 to 2 on the board. The best move is worth 10001.0 points more. Find it.

Puzzle 20

2 to 2 on the board. The best move is worth 4.8 points more. Find it.

How the puzzles are made

The engine's neural network played 200 games against itself. At every turn it searched the position with two candidate lines. A position became a puzzle when three things held: the search reached the end of the round, so nothing was cut short; the best move scored at least 3 points more than the second best; and the best move was not the one a greedy player would pick, the move that looks best for your own board right now.

Each puzzle is rated by how deep the classic engine has to look to find the answer: easy if it sees it two moves ahead, medium at four, hard if it needs more.

The greedy rule is what makes them puzzles. The answer is often a quiet move: leaving a colour for the opponent so they have to break a line, taking the first-player token at the right moment, or dropping tiles on the floor now to avoid a bigger penalty later. The code is azul puzzles in the source on GitHub.