A strong 2-player Azul model

Azul is a tile-drafting board game. I trained a simple neural network (a GLU resnet) using self-play, and the resulting model is strong. Increase 'ply' (search depth) or the search width for stronger but slower performance.

Rules
  • Each round, five displays are filled with four tiles each, drawn from a bag of 100 (20 of each colour).
  • On your turn, take every tile of one colour from one display (the rest go to the pool in the middle) or from the pool. The first player to take from the pool each round also takes the start marker, which counts as a floor tile.
  • Put the tiles on one pattern line. Line n holds n tiles of a single colour, and can't take a colour already on that row of your wall. Tiles that don't fit fall to your floor.
  • When the table is empty, each full line moves one tile across to its wall and scores: 1 point alone, or the length of the horizontal and vertical runs it joins. The rest of the line is discarded. Floor tiles cost 1, 1, 2, 2, 2, 3 and 3 points.
  • The start marker's holder begins the next round. The game ends after the round in which someone completes a row of their wall. Then each complete row scores 2, each column 7, and each colour with all five placed 10. Ties go to more complete rows.
Bot search
Search width
You play

moves