Home › Fun & Games › Battleship Game

Battleship Game

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.

      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

      1. 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.
      2. Choose the rules. Pick the computer's level and who fires first. Optionally forbid touching ships or allow a bonus shot after each hit.
      3. Start the battle and click a square in Enemy waters to fire. A red marker is a hit, a small dot is a miss.
      4. 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.
      5. Sink all five enemy ships before the computer sinks yours to win.

      Battleship rules at a glance

      ShipSizeCount
      Carrier5 squares1
      Battleship4 squares1
      Cruiser3 squares1
      Submarine3 squares1
      Destroyer2 squares1
      Total17 squares5 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.

      Related tools

      MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.Connect FourPlay Connect 4 online against the computer or a friend.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.2048 GamePlay 2048 online with swipe controls, undo and best score.Coin FlipFlip a coin online: heads or tails, multiple coins and stats.Yes or No WheelSpin the wheel for a yes or no answer to any question.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Random Name GeneratorGenerate random first and last names by gender and origin.Random Team GeneratorSplit a list of names into random, balanced teams.Zodiac Sign CalculatorFind your zodiac sign, element and best matches from your birthday.Zodiac CompatibilityCheck love compatibility between two zodiac signs.Love CalculatorEnter two names and get a fun love compatibility score.Dice RollerRoll a D6 or any RPG dice (D4 to D100) with totals and history.Random Number GeneratorPick random numbers in any range, unique or lottery-style.Random Letter GeneratorPick random letters from the alphabet, with vowel, case and no-repeat options.Random Country GeneratorPick random countries with flags, capitals, population and area.Random Date GeneratorGenerate random dates between two dates, with weekday and format options.Numerology CalculatorFind your life path, expression and soul urge numbers from name and birthday.Birth Flower & Birthstone FinderLook up the birthstones and birth flowers for any month, with meanings.Picker WheelSpin a wheel to pick a random name or choice.Random Dog PicturesRandom dog photos and fun dog facts.Random Cat PicturesRandom cat photos and fun cat facts.Random Parrot PicturesRandom parrot photos and bird trivia.Dog Web StumbleJump to a random dog website.Cat Web StumbleJump to a random cat website.Parrot Web StumbleJump to a random parrot website.Random Animal GeneratorGet a random animal with its class, habitat and a fun fact, with filters.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.Rising Sign CalculatorFind your ascendant sign and degree from birth date, time and place.Random Movie PickerCan't decide what to watch? Pick a random film by genre, decade and runtime.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Tarot Card ReadingDraw a free tarot spread from a full 78-card deck with upright and reversed meanings.Random Food PickerCan't decide what to eat? Spin a cuisine wheel and get a dish that fits your diet.Fortune Cookie GeneratorCrack a virtual fortune cookie for an original fortune, lucky numbers and a daily pick.Truth or Dare GeneratorDraw clean truth or dare questions for family, teens or parties, with player turns.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Baby Name GeneratorDiscover 1,700+ baby names filtered by gender, origin and letter, and save favorites.Would You Rather QuestionsRandom would you rather dilemmas in five categories. Vote and see your A/B split.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Pet Name GeneratorFind the perfect name for a dog, cat, bird or bunny by species, style and coat color.Never Have I Ever QuestionsClean and party never have I ever questions with a built-in point counter for players.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Fantasy Name GeneratorCreate elf, dwarf, orc, dragon and other fantasy names from race-specific syllable rules.Chinese Zodiac CalculatorFind your Chinese zodiac animal, element and yin or yang from your exact birth date.Random Question GeneratorRandom conversation starters: icebreakers, deep, funny, work-friendly and kids questions.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Username GeneratorGenerate cool usernames and gamertags by style, fitted to each platform's rules.Magic 8 BallAsk a yes-or-no question, shake the ball and get one of the 20 classic answers.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Band Name GeneratorInvent band names for 14 music genres, or blend two genres, with album titles too.Writing Prompt GeneratorRandom story starters, first lines, characters, settings, twists and poem prompts in 11 genres.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Drag Name GeneratorFind your drag queen or drag king name: puns built from your own name in seven styles.Fantasy Creature GeneratorInvent original fantasy creatures with a name, body, powers, habits, weakness and danger level.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Rapper Name GeneratorTurn your name into a rap name in seven styles, from Lil and MC to trap, drill and emo rap.Lottery Number GeneratorSecure random quick picks for Powerball, Mega Millions, EuroMillions, Lotto and custom games.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Superhero Name GeneratorInvent original superhero names with powers, an origin story and a weakness.Secret Santa GeneratorDraw Secret Santa names with exclusions and send everyone a private reveal link, no sign-up.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Pirate Name GeneratorGet swashbuckling pirate names from your first name, plus ship names, in four styles.Raffle DrawPaste names, add extra tickets and draw one or many random raffle winners with confetti.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Couple Name GeneratorBlend two names into ranked ship names and couple names, from Brangelina-style to overlaps.Random Card DrawShuffle a 52-card deck and draw one or more random playing cards, with jokers and history.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Age on Other PlanetsSee how old you are on Mars, Jupiter and every other planet, plus your next birthdays.Anagram SolverFind every anagram of a word or phrase: single words, multi-word anagrams and all sub-words.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.Rock Paper ScissorsPlay rock paper scissors vs the computer in best-of matches, with stats and a lizard-Spock mode.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.GomokuGet five in a row on a 15×15 board against a smart computer or a friend.FreeCellPlay FreeCell solitaire online with the classic numbered deals, undo, hints and auto-move.Mastermind GameCrack the secret 4-color code in 10 tries using black and white feedback pegs.Tower of HanoiPlay the Tower of Hanoi puzzle with 3 to 8 disks, or watch it solve itself in the fewest moves.Maze GeneratorCreate random mazes in any size, solve them with the arrow keys, then print or save as PNG.Sudoku SolverType in any Sudoku and solve it instantly, get step-by-step hints and check it has one solution.Bingo Card GeneratorMake printable 75-ball or custom word bingo cards, from 1 to 200 unique cards, as PDF or print.Bingo Number GeneratorFree bingo caller for 75 or 90 balls with a live board, auto-call timer and spoken numbers.Online ScoreboardKeep score for any game: big team scores, game clock, periods, fullscreen and sport presets.Tournament Bracket GeneratorMake single or double elimination brackets for 2-64 players, click winners to advance, print.Trivia Quiz300+ general knowledge trivia questions in 10 categories. 10-question rounds with a timer and score.Random Fact GeneratorGet random fun facts about animals, space, the body, history, science, food and more.Random Joke Generator200+ clean, family-friendly jokes: dad jokes, puns, knock-knock jokes and more. Tap to reveal.Random Riddle Generator150+ riddles with hidden answers in easy, hard and kids levels. Guess, get a hint or reveal.Team Name GeneratorGenerate catchy team names for sports, work, trivia nights and gaming, with your own keyword.Business Name GeneratorTurn a keyword and industry into brandable business name ideas, with a .com check link.Charades GeneratorRandom charades words by category and difficulty, with a round timer, team scores and kids mode.