How to Solve Battleships Puzzles
Also known as Bimaru and Solitaire Battleships.
Knowing how to solve Battleships puzzles comes down to three facts: an edge number is a count of ship cells, a ship is a straight line, and ships never touch. This page gives the full rules, explains what a revealed piece says about its neighbours, names the eight techniques behind our hints and solves a 6×6 daily.
Published
The Rules
The grid hides a fleet. The list with the puzzle gives the length of every ship, and each one is in the grid exactly once.
Every ship is a straight line of cells, across or down. A one-cell ship is a single cell.
Each number at the edge counts the cells of its row or column that hold part of a ship.
No two ships touch, not even at a corner. A finished ship has water on every side.
A revealed cell shows what is really there: water, a one-cell ship, an end of a ship or a middle of a ship.
The numbers always add up to the fleet: on the 10×10 grid both the row numbers and the column numbers total twenty, the cells of the ten ships. A cell that holds no ship is water, and the water marks are your record of every cell already excluded.
What each revealed piece tells you
A revealed piece is more than one known cell, because its shape describes the cells next to it. A round one-cell ship is finished where it stands, so all eight cells around it are water. An end is rounded on the side where the ship stops: the cell on its flat side is ship and every other cell around it is water.
A square middle has ship on two opposite sides and water on the other two, but it does not say which pair is which. It becomes readable when one direction closes. A middle on the top edge must run along the row. So must a middle in a column whose number is 1 or 2, because a ship with a middle is at least three cells long. Revealed water is the plainest piece and still useful: it shortens the count of open cells in two lines at once.
Marking the grid
Tap an open cell to turn it into water, tap again for a ship cell, and once more to clear it. Dragging along a row or column lays water on every open cell it crosses, the fast way to deal with a line marked 0. Shift-click or right-click places a ship cell directly. Revealed cells are fixed.
Keyboard players steer with the arrows, press Space or Enter to step a cell through its three states, S for a ship cell, W for water and Backspace to empty it. A ship cell you place is drawn as a small square until the cells beside it settle its shape, then as an end, a middle or a one-cell ship. A number fades once its line holds exactly that many ship cells and is flagged when the line holds more. The fleet list dims a ship when one of its length is closed at both ends. You only have to find the ships: cells you leave open count as water.
Step by Step
Clear the full lines
A row or column marked 0 is all water. So is the rest of any line whose number is already met by revealed pieces. Drag across each one.
Read every revealed piece
Ring a one-cell ship with water. Put a ship cell on the flat side of an end and water on its other sides. Leave a middle until one of its directions is closed.
Water the corners
The four cells diagonally next to any ship cell are water, whichever ship it belongs to. Mark them each time you place a ship cell.
Count each line
Compare a line's number with the ship cells and open cells in it. If the open cells are exactly what the line still needs, they are all ship.
Check the fleet list
When a ship is closed at both ends, tick it off. A stretch of ship cells cannot grow past the longest ship still missing, and cannot stop at a length that is used up.
Place the longest missing ship
Find every place it could still lie. If there is one, fill it in. If there are several, the cells they all share are ship.
Solving Techniques, Easiest First
The solver knows eight deductions and tries the simplest first. Hint shows you whichever one it would use next, which is why an Easy grid never produces a hint about the fleet list.
| Technique | First needed at |
|---|---|
| Full Line | Easy |
| Revealed Piece | Easy |
| Diagonal Water | Easy |
| Forced Line | Easy |
| Ship Limit | Medium |
| Ship Must Grow | Medium |
| Ship Placement | Medium |
| Contradiction | Hard |
Full Line
Easy
A row or column that already holds its number of ship cells is water everywhere else. A line marked 0 is the first case of this. In our first batch of grids, 147 of the 148 Easy puzzles opened with it.
Revealed Piece
Easy
A revealed one-cell ship has water all round it. A revealed end has ship on its flat side and water on every other side. A revealed middle whose row or column is closed to it runs the other way, with ship on both sides along that line.
Diagonal Water
Easy
Ships are straight and never touch at a corner, so the four diagonal neighbours of any ship cell are water. This holds before you know the ship's length or direction.
Forced Line
Easy
If a line still needs as many ship cells as it has open cells, every one of them is ship. On our first 148 Easy grids this step placed 1,035 of the 1,216 ship cells that were not revealed.
Ship Limit
Medium
An open cell that would join ship cells into a line longer than the longest ship still missing is water. With the four-cell ship found, a stretch of three is as long as anything can get, so both cells past its ends are water.
Ship Must Grow
Medium
When every ship of one length is finished, a stretch of that length elsewhere has to belong to a longer ship. If only one cell is open for it to grow into, that cell is ship.
Read the Ship Must Grow articleShip Placement
Medium
Take one ship length still missing and list every place a ship of exactly that length could lie. A cell that every such place covers is ship. If the missing ships of that length fit only one way, they are all found.
Read the Ship Placement articleContradiction
Hard
Suppose an open cell is ship, or suppose it is water, and follow the first six techniques. If a line can no longer reach its number, or the fleet ends up with one ship too many of some length, the cell is the opposite. A Hard grid on PencilGrid needs this at most three times.
Worked example: an Easy 6×6 daily
The grid solved here is the 16 November 2026 daily, shown above as published. Its fleet is a three-cell ship, two two-cell ships and three one-cell ships. In the figures ■ is a ship cell, × is water, and an outlined cell is one the step has just settled. The hint system solves the grid in 14 steps.
Full Line, four times. Rows 1 and 5 are marked 0, so twelve cells are water at once. Column 4 is marked 1 and already holds the revealed one-cell ship, so the rest of it is water. Column 5 is marked 1 and holds the revealed end, so the same goes for it.
Revealed Piece, twice. The one-cell ship in row 2 column 4 turns its two remaining open neighbours into water. The left end in row 6 column 5 continues to the right, so row 6 column 6 is ship. Thirteen cells are still open.
Forced Line. Row 4 is marked 4 and has exactly four open cells, in columns 1, 2, 3 and 6. All four are ship. The first three sit side by side, and three is the longest ship in this fleet, so the three-cell ship is found.
Full Line and Diagonal Water. Column 2 is marked 1 and now has its ship cell, which clears three more cells. Row 3 column 1 touches the new ship at a corner, so it is water as well.
Forced Line, one row at a time. Row 3 is marked 1 and has a single open cell left, column 6, which joins the ship cell below it to make a two-cell ship. Column 6 is then full, so row 2 column 6 is water, which leaves row 2 with one open cell for its second ship cell: column 1.
Column 1 is full in turn, and row 6 is left with one open cell, column 3, for the third one-cell ship. The fleet list is complete: a three, two twos and three ones, none of them touching.
Nothing here needed the fleet list until the end, and that is what makes a grid Easy. On a Medium day there is a moment where the lines go quiet and the list has to speak: a ship that is too long, a length that is used up, or one place left for the longest ship. A Hard daily adds a what-if.
Tips for Faster Solving
Mark water, even though only the ships are checked. Forced Line is a count of open cells, and you cannot count what you have not crossed off.
After every ship cell, do the corners first, then recount its row and its column. New Full Lines tend to appear right there.
Look at the big numbers early. A line marked 4 or more is one of the few places the longest ship can lie along.
A revealed middle on an edge, or beside water, has already told you its direction. Extend it both ways before doing anything else.
Keep an eye on the one-cell ships. When all of them are found, any lone ship cell left on the board must grow.
Frequently Asked Questions
What are the rules of a Battleships puzzle?
Find every ship in the listed fleet. Ships are straight lines of cells, across or down. Each number at the edge counts the ship cells in its row or column, and no two ships touch, not even diagonally. Revealed cells show real pieces of the answer.
Is Bimaru solved the same way as Battleships?
Yes. Bimaru is the same puzzle under another name, so a grid printed as Bimaru, Solitaire Battleships or Yubotu yields to the same eight techniques. Check the fleet list first, since publishers vary the fleet with the grid size.
Where should you start in a Battleships puzzle?
Mark water in every row and column marked 0, then in the rest of any line whose number is already met by revealed pieces. On our Easy grids this Full Line step comes first in 147 of 148 puzzles.
What does a square piece mean in Battleships?
A square is the middle of a ship. It has ship on two opposite sides and water on the other two, and the ship is at least three cells long. Its direction is settled as soon as the edge, water or a small line number closes one way.
Do you ever have to guess in a Battleships puzzle?
Not on PencilGrid. Each grid has one answer that the eight techniques reach. A Hard daily needs a what-if, which is a proof: suppose a cell is ship, follow the consequences to a broken rule, and conclude it is water.
How are the daily Battleships puzzles graded?
By the hardest technique the solver needs. Full Line, Revealed Piece, Diagonal Water and Forced Line make a grid Easy. Needing Ship Limit, Ship Must Grow or Ship Placement lifts it to Medium, and needing a what-if lifts it to Hard. The three levels are published at 6×6, 8×8 and 10×10.
Sources
- Conceptis: Battleships rules: the rules, the segment shapes and the ten-ship fleet of the 10×10 grid
- Conceptis: Battleships techniques: the same moves under the publisher's names: filling round given segments, completing rows and columns, the one way to place the remaining ships, and indirect logic
- Wikipedia: Battleship (puzzle): the names Bimaru, Yubotu and Solitaire Battleships; the strategy of placing the largest ship not yet located
- How PencilGrid puzzles are made: grading and the uniqueness check
Sources last checked on 2026-11-15.
Written and checked by the maker of PencilGrid, a puzzle enthusiast and software engineer who also builds the generator and solver behind every grid on the site.
Every technique on this page is one the site's solver actually uses: puzzles are generated offline, checked for a single solution, and graded by the hardest step they need. How PencilGrid puzzles are made →
More Battleships Pages
Related puzzles: Tents · Star Battle · Nonogram
Keep Going
Play Today's Battleships
Try the techniques on today's grid.
Battleships Hub
Sizes, fleets, the weekday schedule and the daily.
Past Daily Battleships Puzzles
Open the 16 November 2026 grid and replay the example yourself.
How to Play Tents
Another puzzle of line counts where nothing may touch.
How to Play Nonogram
Line numbers that give block lengths, solved by overlap.