⚓ Battleship
English

Battleship Minimum Shots and Efficiency

Every turn is a shot. The five-ship fleet covers 17 cells, so the absolute floor is 17 perfect hits. In practice most games need more. This page shows where the extra shots go and how to get closer to the floor.

The theoretical floor: 17 hits

The five ships occupy exactly 17 cells (Carrier 5 + Battleship 4 + Cruiser 3 + Submarine 3 + Destroyer 2). If every shot were a hit and no shot was wasted, sinking the entire fleet would take exactly 17 shots. This is the mathematical lower bound no strategy can beat.

In a real game you must also find the ships, so almost every shot before the last hit is a form of search. The floor is not a target; it is a ceiling you can get closer to.

Optimal probing: about 44 shots

In this game's simulation, an AI that counts every legal ship placement and fires at the busiest cell (probability density, or heat-map) averages about 44 shots per solo game — the parity-scan plus hit-chaining strategy.

A parity scan at the start skips half the grid. When a hit is scored, the AI locks onto the ship's axis and fires along it until it sinks, then returns to scanning. This two-gear approach cuts the count from one hundred to around fifty.

Random firing: about 96 shots

If shots are spread randomly across the 10×10 grid with no parity scan, no density guidance and no axis lock, the simulation averages about 96 shots per solo game. Random fire re-covers partial ships and wastes shots on zones that cannot hold the remaining fleet.

The jump from 96 to 44 shots shows that search efficiency alone saves nearly half the shots. Every grid cell skipped by parity or ruled out by density is one fewer miss.

Parity scan halves the grid

The smallest ship is two cells long, so every ship covers at least one cell of each checkerboard colour. Firing only at one colour therefore cannot miss a ship entirely, and it skips every other cell. This is the cheapest first filter.

A colour scan works best at the start when all five ships are still afloat. As ships sink and only the Destroyer and Submarine remain, strict parity may leave gaps; switch to density-driven search for the last ship.

Probability density finds the busiest cell

After a parity scan reaches the mid-game, the AI counts, for every unshot cell, how many legal placements of the surviving ships would cover it. It fires at the cell with the highest count. A cell in the centre is covered by more positions than a corner, and a cell next to a known miss is covered by fewer.

You can apply the same logic by hand: eliminate cells that cannot fit the smallest remaining ship, and prefer the middle over the edges for the first pass.

Axis lock and the endgame

After a hit, fire at the four neighbours. Two aligned hits reveal the ship's direction; follow that line to both ends until the ship sinks. When a ship sinks, its cells are known and the area around a sunk ship can often be skipped.

With only the Destroyer or Submarine left, switch to covering all cells that can still fit a ship of that size, so the last ship cannot hide in a gap left by the parity scan.

FAQ

What is the minimum number of shots to win Battleship?

The five ships cover 17 cells, so the theoretical floor is 17 hits. In this game's simulation, optimal probing averages about 44 shots per solo game, random fire about 96.

Why does the optimal strategy average 44 shots when the floor is 17?

Those 27 extra shots are search overhead: finding the ships before the last hit lands. Parity scanning skips half the grid and probability density favours the busiest cells, cutting the average from about 96 to about 44.

How can I lower my own shot count?

Start with a checkerboard parity scan, switch to probability density when a few ships remain, lock onto the axis after a hit, and in the endgame sweep all cells that can still hold the last ship.

Start hunting