Sea Battle probability coach guide

한국어

Sea Battle is a game of finding hidden ships. This page explains what Coach mode counts and how to read the numbers.

What Coach mode counts

Coach mode collects every ship layout that agrees with your shots so far. A miss means no ship there. A hit means a ship there. A sunk ship is found, so it leaves the list of remaining ships. Every layout that passes these checks is a possible layout. For one square, count the possible layouts with a ship on it and divide by all possible layouts. That is the square's chance.

Counted or sampled

Late in a game, few ships remain and many squares are shot, so the possible layouts drop to thousands. Then every one is counted and the screen shows the exact number. Early on there are far too many to count. The game then places ships at random and keeps only the layouts that fit. That result is an estimate, so the screen shows how many samples it used. If fewer than thirty usable samples turn up, the game hides the numbers instead of guessing.

How to read a number

Each number is a percent. A high square is not a sure hit. It means that across many games in this exact position, a ship sat there that often. Add up the numbers on all open squares and you get the count of ship squares not yet hit. That sum is exact when everything is counted, and it holds for samples too.

After a hit, look next door

Ships lie straight, across or down. After one hit, only the squares above, below, left and right can belong to the same ship. With two hits in a row, the ends of that line come next. Coach mode does not need this written down. It falls out of counting layouts, which is why the numbers around a hit jump up.

What a miss tells you

A miss is information too. A length 4 ship needs four open squares in a line. A miss can cut a line short and rule out long ships there. If the shortest ship left has length 2, a single open square boxed in on every side can hold nothing, so its number is 0.

Why a checkerboard pattern works

Color the squares like a chessboard. Any ship of length 2 or more covers at least one square of each color. So firing at every square of one color must hit every ship. That halves the squares you need to try. It is also why Coach numbers in the first shots are higher near the center and lower at the edges: more ship positions cross a center square.

How the bot fires

The bot picks squares from the seed and its move number alone, so the same seed gives the same moves. With no open hit it fires on one checkerboard color. With a hit it tries the neighbors first. It never fires at the same square twice. The Coach table is for you only. The bot does not use it.

The first game each day is the same fleet

Fleet positions come from a seed made of the date and the game number. Today's first game is identical for everyone, and Play again moves to the next number. Nothing is sent to a server, so checking a seed happens only on your device.

About the name

Sea battle is the common name for an old pencil and paper grid game. We use no company's board, artwork or phrases, and the grid size and fleet are our own choice.