Classic naval grid battle

Sink the Battleship Fleet

Place your fleet, fire on the computer's hidden waters, and sink all five enemy ships before it sinks yours.

Your fleet is ready. Fire on the enemy grid to begin.

Your fleet

The computer fires here

Enemy waters

Click a cell to fire

ShipHitMissSunk

Two 10x10 grids

Your fleet stays visible on the left while the enemy's waters stay hidden until you fire.

🎯

Smart-ish AI

The computer fires randomly until it lands a hit, then hunts the cells around it to finish the job.

🛡

Place it your way

Auto-place your fleet instantly or take control and place each ship by hand.

How to play Battleship

Both sides secretly place a fleet of 5 ships on a 10x10 grid, then take turns firing at each other's grid to find and sink every ship.

  1. Set your fleetYour ships are auto-placed to start. Randomize again or switch to manual placement to choose exactly where each ship goes.
  2. Fire on the enemy gridClick any cell on the right-hand grid. A hit turns red, a miss turns into a small dot, and the computer fires back after every shot.
  3. Sink the fleet to winKeep firing until every cell of one side's fleet has been hit. Whoever sinks all 5 enemy ships first wins.

About Battleship

Battleship turns a simple grid of hidden ships into a game of probability and deduction. Every shot narrows down where the remaining ships could be, and once you land a hit, following the line of the wounded ship is usually the fastest way to sink it.

The standard fleet

A Carrier (5), Battleship (4), Cruiser (3), Submarine (3) and Destroyer (2) make up each side's fleet, for 17 ship cells total.

Hunt the hit

Once a shot lands, checking the four cells around it is usually smarter than firing somewhere random.

Spread your ships out

Clustering ships together lets a single lucky hunting streak sink several of them in a row.

Play it your way

Auto-placement is fast for a quick round; manual placement lets you plan a trickier layout.

Battleship FAQ

Common questions about the fleet, placement and the computer opponent.

How many ships are in the fleet?

Each side has 5 ships: a Carrier (5 cells), Battleship (4 cells), Cruiser (3 cells), Submarine (3 cells) and Destroyer (2 cells), matching the standard Battleship fleet.

Can I place my own ships instead of auto-placing?

Yes. Switch to manual placement, pick a ship, use Rotate to choose horizontal or vertical, then click a cell on your own grid to place it. You can also click Randomize at any time before firing your first shot.

How smart is the computer opponent?

The computer fires randomly until it scores a hit. After a hit it starts targeting the adjacent cells around that hit to try to finish off the ship, similar to how a person would hunt down a wounded ship.

How do I win?

Sink all 5 of the computer's ships by hitting every cell they occupy before the computer sinks all 5 of yours.

Is any of this saved or sent anywhere?

No. The whole game runs locally in your browser. Nothing is uploaded or saved beyond your current session.