Sea Battle

Runs in your browser — nothing is uploaded

The classic game from school notebooks: each side hides a fleet on a 10 × 10 grid, and you take turns calling shots. Find and sink all ten enemy ships before the computer sinks yours.

A hit earns another shot. When a ship sinks, the cells around it are marked, because by the rules no other ship can touch it.

How to use it

  1. Look at your fleet and press “Shuffle ships” until you like the layout, then “Start battle”.
  2. Click a cell on the enemy grid to fire. × is a hit, a dot is a miss.
  3. Hit again: you keep shooting until you miss. Then the computer fires at your grid.
  4. Sink all ten enemy ships to win.

Common uses

  • A quick strategy game against the computer.
  • The classic school notebook game, without paper.
  • Teaching children grid coordinates like B7.
  • Practising systematic search: covering the grid in a pattern finds ships faster.

Examples

ShipHow many
Four cells (battleship)1
Three cells (cruiser)2
Two cells (destroyer)3
One cell (boat)4Ships never touch, not even corner to corner.

Frequently asked questions

What is the best strategy?

Fire in a chessboard pattern to find ships with fewer shots: every ship except the one-cell boats covers at least one square of each colour. After a hit, try the cells above, below and to the sides to find the ship's direction.

Why are cells marked around a sunk ship?

Ships can't touch each other, so the cells around a sunk ship are certainly empty. Marking them saves shots.

Can ships be placed by hand?

For now the fleet is placed at random; press “Shuffle ships” as often as you like before the battle.

How does the computer play?

It searches the board in a pattern, and after a hit it finishes off the ship. It follows the same rules as you and doesn't see your ships.