This repo will contain code for the famous game Battle Ships! the game was developed using JavaScript This game contains the following files:
- board.js
- submarine-manager.js
- controller.js
board.js:
contains the class "Board" which will handle the board, print the board and will manage hit marks on the board and will update it accordingly.
submarine-manager.js:
contains where to set the submarines on the board
controller.js:
game manager - it will manage the gameplay and will be in charge of game actions and will decide if game is over.