Battleships Solver
Type the counts and marks from your own Battleships, press Solve, and the fleet fills in. Want to learn it instead? Step through it one cell at a time.
Your puzzle
0 givens
Tap a cell, then choose One-cell, End, Middle, Ship, or Water. Tap a count and type its digit. Leave a cell empty when the puzzle has no mark there.
Solver
Step by step
Enter your counts and marks, then press Solve.
Technique
Given segmentZero lineCorner waterSide waterFull countFill the lineExtendCapOne-cell shipsNo roomLineOnly placeOverlapNeighbouring water
Press Next step to see the first cells and why they are ship or water.
Ship endShip middleOne-cell shipWaterCount metShip parts and water you place are givens. The others are the solver’s.
Everything happens in your browser. Nothing is uploaded and there's no account.
Solver
How the solver works
Each step uses one of these rules: Given segment, Zero line, Corner water, Side water, Full count, Fill the line, Extend, Cap, One-cell ships, No room, Line, Only place, Overlap, or Neighbouring water. It lights the cells that step uses.
Given segmentZero lineCorner waterSide waterFull countFill the lineExtendCapOne-cell shipsNo roomLineOnly placeOverlapNeighbouring water