Strategy

The Quarto endgame: when safe pieces run out

By Alejandro Rioja · October 28, 2026

The Quarto endgame is a race to run your opponent out of safe pieces. A piece is safe to hand over if your opponent can't win with it anywhere on the board. In 4,000 games of our strongest computer player against itself, the giver still had 7.3 safe pieces out of 12 after four placements, but only 4.2 of 8 after eight and 1.7 of 6 after ten. By then a third of positions had no safe piece at all. Win the endgame by making sure that happens to your opponent, not to you.

About us: we make Quads, an independent game built on the same hand-your-opponent-the-piece mechanic as Quarto. It isn't affiliated with Gigamic or the makers of Quarto.

7.3 / 12safe pieces after 4 placements
4.2 / 8safe pieces after 8 placements
34%of positions after 10 placements: no safe piece
5 or 9pieces that finish an open line of three

How fast safe pieces run out

We played 4,000 games of the Quads Grandmaster AI against itself, and 4,000 at Skilled level, all with the 2×2 square rule. Before every hand-off we counted how many of the remaining pieces were safe.

Average number of safe pieces at each hand-off

03691212111098765432Pieces leftSafe (Grandmaster games)Safe (Skilled games)Pieces left to choose from at the hand-off
Averaged over every game still in progress at that point. The first four hand-offs (16 to 13 pieces left) are almost always fully safe and are left out.

Grandmaster games: positions where every piece loses

0%10%20%30%40%0%120%112%105%96%86%734%67%525%45%316%2Pieces left to choose from at the hand-off
The giver is lost on the spot: whatever they hand over, the opponent can win with it. The zig-zag is real. Hand-offs with an even number of pieces left are made by the player who placed second, and in these games that player was squeezed far more often.
Pieces leftPositionsAverage safeShare safeNo safe piece
124,0007.2861%0.0%
114,0004.1237%0.0%
104,0003.7538%1.9%
93,9223.3037%5.1%
83,7224.2253%5.9%
73,5012.2232%6.5%
63,2751.7028%33.7%
52,1701.7635%7.2%
42,0131.4637%25.2%
31,5061.5150%4.8%
21,4341.1557%15.6%

The drop is steepest early: from 12 safe pieces at the fourth hand-off to about 7 at the fifth and about 4 at the sixth. Strong players don't lose there, but that's where the endgame is set up. With six pieces left, a third of positions were already lost for the player handing over.

These are games between copies of our AI, not perfect play. For exact results on random positions under both classic and square rules, see Is Quarto solved?.

How to count safe pieces

Counting safe pieces sounds slow, but it reduces to one question per open line. Every trait splits the 16 pieces in half, so each open line rules out a half of the set:

  1. Find every shape with three pieces and one gap. Rows, columns, diagonals, and 2×2 squares if you play with them.
  2. For each, name what the three share. If they share nothing, the line is dead: forget it. If they share "short", any short piece wins there.
  3. A safe piece must break every one of those traits. Short threat? It must be tall. Light threat? It must be dark.
  4. Look for those pieces in the pool. If none is left, you're in trouble, and it's better to find that out one turn early.

The numbers behind step 2: of the 560 possible groups of three pieces, 208 share no trait (dead), 256 share one trait (5 of the other 13 pieces finish them) and 96 share two (9 pieces finish them). A line of three sharing two traits is twice as dangerous as one sharing one.

A worked example

This position comes from one of our Grandmaster games. Nine pieces are on the board and you must hand over one of these seven:

Three open threats. Row 1 needs a short piece at C1. Column B needs a light piece at B4. The top-left 2×2 square needs a short or light piece at A2.

A safe piece has to be tall and dark. Of the seven, only one is: the tall dark square solid piece. Every other piece loses on the spot. That's the endgame in miniature: two threats on different traits cut the pool to a quarter, and here the quarter holds exactly one piece. Hand it over, and your opponent now has to find a placement that doesn't leave you with an easy win.

Turning a shortage into a win

Counting keeps you alive. To win, turn it around: place your piece so that, after you hand over a safe piece, every placement your opponent can make leaves them nothing safe to give back. That's the squeeze, and our strategy guide walks through one move by move. Our Quarto puzzles include four squeeze positions to practise on, each checked by computer.

Endgame habits

Frequently asked questions

What is a safe piece in Quarto?

A piece your opponent cannot win with anywhere on the current board. Handing over an unsafe piece loses on the spot if they see the win.

How do you win the endgame in Quarto?

By leaving your opponent with no safe piece to hand back. Place your piece and choose your hand-off so that, wherever they put it, every remaining piece wins for you.

When do safe pieces run out in Quarto?

In our strong computer games, the giver had about 4 safe pieces out of 8 after eight placements, and in 34% of positions with six pieces left there was none.

How many pieces can finish a line of three?

Five of the remaining 13 if the three pieces share one trait, nine if they share two, and none if they share nothing.