BattleShips Game

IMPORTANT NOTE : There is redundancy in the code. Because, I have finished the game and upload here immediately. The redundancy will be removed after I review the code. Otherwise, the code works perfectly.

HOW TO PLAY

User is playing against computer. User firstly deploy 5 ships into 10x10 matrix with writing their coordinates. Then computer delpoys its ships randomly. User tries to sunk computer's ships and vice versa. After user enters his/her ship coordinates, he/she enters coordinates of place where computer's ship might be.