This is the game of battleships. A player will place 5 of their ships on a 10 by 10 grid. The computer player will deploy five ships on the same grid. Once the game starts the player and computer take turns, trying to sink each other's ships by guessing the coordinates to attack. The game ends when either the player or computer has no ships left.
Uses 2D arrays and the use of objects.