battleship-project

introduction

battleship is a board game in which there's a 2x2 board where 2 players with 2x2 board place ships of various length on their boards. Objective of the game is to sink all of the ships on opponent's board by attacking one square at a time.

Methology to code this

This will be a one player game, and will input the coordinates that they want to attack on. and they will get the output whether they hit or miss the target. once they hit 6 targets the game ends.