Battleship is a strategy game where your goal is to sink all of the computer's hidden
ships before it sinks yours. At
the start of the game, you place your fleet on your board by choosing a ship,
selecting
a starting square, and picking a
direction (up, down, left, or right). Once all ships are placed, the battle begins.
Click on squares on the computer's
grid to fire your shots-if you hit a ship, it will be marked, and if you miss, the
square will show as a miss. After
each of your turns, the AI will take its turn, using its own logic to search for and
target your ships. Pay attention to
your hits, as ships occupy multiple spaces in a straight line, and use that
information
to finish them off. The first
player to successfully hit all 17 ship segments wins the game.