Hide your five ships on a 10 × 10 grid, then take turns firing at the computer's waters. Sink the whole enemy fleet before it finds yours.
Your wins0
Computer wins0
Place your ships
Your fleet
Place your ships
Pick a ship, then click a square on your board to place it (it extends right, or down when vertical). Click a placed ship to pick it up again.
Enemy waters
Fleet: Carrier (5), Battleship (4), Cruiser (3), Submarine (3), Destroyer (2). Keys: arrows + Enter to place or fire, R rotate, N new game.
Advertisement
Advertisement
How to use the Battleship Game
Arrange your fleet. Your ships start in random positions. Press Shuffle ships for a new layout, or pick a ship and click your board to move it. Use Rotate (or R) to switch between horizontal and vertical.
Choose the rules. Pick the computer's level and who fires first. Optionally forbid touching ships or allow a bonus shot after each hit.
Start the battle and click a square in Enemy waters to fire. A red marker is a hit, a small dot is a miss.
Hunt down damaged ships. After a hit, fire at the neighbouring squares to find which way the ship runs. You are told when a ship is sunk.
Sink all five enemy ships before the computer sinks yours to win.
Battleship rules at a glance
Ship
Size
Count
Carrier
5 squares
1
Battleship
4 squares
1
Cruiser
3 squares
1
Submarine
3 squares
1
Destroyer
2 squares
1
Total
17 squares
5 ships
Both players secretly place their ships horizontally or vertically on a 10 × 10 grid. Ships can't overlap or leave the board.
Players take turns naming a square, such as B7, to fire at. The defender answers "hit" or "miss".
When every square of a ship has been hit, the ship is sunk and the defender says which ship it was.
The first player to sink all five enemy ships wins.
How the computer opponent works
Easy picks random squares it hasn't tried yet. On average, random shooting needs well over 90 shots to sink a fleet on a 100-square board.
Normal uses the classic hunt and target method. While hunting it only fires on squares of one checkerboard color, because even the smallest remaining ship must cover one of them. After a hit it switches to target mode, tries the four neighbours and, once it has two hits in a row, keeps firing along that line until the ship sinks.
Hard builds a probability map before every shot. For each ship still afloat it counts every horizontal and vertical position that fits with the misses and sunk ships so far. Positions that pass through unexplained hits are weighted much more heavily. It then fires at the square covered by the most positions. This approach usually finishes a game in noticeably fewer shots than hunt and target.
Tips to beat the computer
Use parity. Fire on a checkerboard pattern while hunting. When the Destroyer is sunk, every remaining ship is at least 3 long, so you can space shots three squares apart.
Finish what you start. After a hit, find the direction of the ship before going back to hunting. A half-damaged ship gives you free information.
Read the sunk messages. If you sink a 3-square ship but scored 4 hits in that area, another ship is right next to it.
Hide well. Against Hard, edges and corners are a little safer than the center, but don't put every ship on the edge or the pattern becomes predictable.
Frequently asked questions
What ships are in Battleship?
Each player has five ships: a Carrier (5 squares), a Battleship (4), a Cruiser (3), a Submarine (3) and a Destroyer (2). That is 17 squares in total, so 17 hits are needed to sink a whole fleet.
Can ships touch in Battleship?
In the classic board game ships may be placed right next to each other, but they can't overlap or be placed diagonally. Many players prefer a house rule where ships may not touch, even at the corners. This game supports both.
How does the computer decide where to shoot?
Easy fires at random squares. Normal hunts on a checkerboard pattern (a ship of length two or more always covers at least one square of the right color) and, after a hit, targets the neighbouring squares and follows the line. Hard counts every way the remaining ships could still fit around the known hits and misses and fires at the square most likely to hold a ship.
What is the best strategy in Battleship?
When hunting, fire on a checkerboard pattern so you cover the board twice as fast, and spread out your shots. After a hit, try the four neighbouring squares, then keep going along the line once you have two hits. Remember which ships are left: if only long ships remain, you can space your hunting shots further apart.
Where should I place my ships?
There is no perfect layout, but avoid obvious patterns. A computer using a probability map tends to aim at the center first because more ship positions pass through it, so ships along the edges can survive a little longer against it. Mixing horizontal and vertical ships also helps.
What does 'fire again after a hit' do?
With this option, a player who scores a hit immediately gets another shot, and keeps shooting until they miss. It makes games faster and more swingy. In the standard rules each player fires one shot per turn.