Sea Battle is the classic two-player guessing game: each side hides a fleet on a 10×10 grid and takes turns calling squares to fire at. It looks like luck, but good play is pure logic and probability.
The best strategy has two modes: search efficiently until you find a ship, then target it until it sinks. Keeping a probability map does both at once and sinks a fleet in far fewer shots.
Rules used here
- Each player has five ships: lengths 5, 4, 3, 3 and 2, placed horizontally or vertically.
- Ships may not touch each other, not even diagonally.
- Players take turns firing at one square. The defender says miss, hit, or sunk.
- A hit earns another shot. A miss ends the turn.
- The first player to sink the whole enemy fleet wins.
The game started as a pencil-and-paper game in the early 20th century and has had many commercial versions since. Rules differ between countries: some allow ships to touch, some give only one shot per turn whatever the result.
Strategy, from worst to best
1. Random shooting
Firing at random unknown squares works eventually, but you waste shots on squares that cannot possibly hold a ship.
2. Hunt and target
Fire at random until you hit something, then try the four neighbouring squares. Once you have two hits in a line, keep shooting along that line until the ship sinks.
3. Search on a checkerboard
The smallest ship is two squares long, so it must cover at least one square of a checkerboard pattern. Searching only those squares halves the area you need to cover. When only longer ships are left, you can spread your search shots even further apart.
4. The probability map
For every remaining ship, count every way it could still fit on the board given your misses and sunk ships. Add up, for each square, how many of those placements cover it. The square with the highest count is the most likely to hold a ship. After a hit, only count placements that pass through the hit. This is what the Hard computer does.
How much better is each strategy? Our simulation
We simulated 3,000 games for each strategy using the rules on this page (10×10 board, ships 5-4-3-3-2, no touching, squares around sunk ships marked empty) and counted the shots needed to sink the whole fleet:
| Strategy | Average shots | Median | Best game | Worst game |
|---|---|---|---|---|
| Random (Easy) | 86.6 | 87 | 64 | 100 |
| Hunt and target + checkerboard (Medium) | 44.4 | 45 | 21 | 66 |
| Probability map (Hard) | 38.4 | 38 | 22 | 56 |
Simple hunt-and-target already halves the number of shots compared with random play. The probability map saves about six more shots per game, which is often the difference between winning and losing.
Frequently asked questions
Where should I place my ships?
There is no perfect spot, but avoid obvious patterns. Against a probability-based opponent, ships along the edges and corners are found slightly later during the search phase, because fewer placements cover those squares.
Why are some squares marked automatically?
Because ships can’t touch, every square around a sunk ship must be empty. Marking them saves you wasted shots.
Do I get another shot after a hit?
Yes, in this version. Some rule sets give only one shot per turn; ours rewards hits with another shot.
Is there a two-player mode?
Not yet. Sea Battle needs hidden boards, which does not work well on one shared screen.
More: All games · Probability in games · Hex