Add management of the number of moves and the tile max