Question: Please answer with. HTML/ CSS and Javascript Battleship Problem (60pts) The game of Battleship is a classic two-person game with a user interface which looks
Please answer with. HTML/ CSS and Javascript


Battleship Problem (60pts) The game of Battleship is a classic two-person game with a user interface which looks like the following: Melusky - CMPSC421 - Spring 2023 You (the player) and the computer opponent are shown two game boards (10x10). At the start of the game you will place five ships on the board. The ships can be arranged vertically or horizontally. The five ships are the following: At the start of the game, you will randomly place ships for your computer opponent. For your ships, you can either randomly place them on your grid or produce an interface which allows the user to place the ships anywhere chosen. Once the ships are placed, you and your computer opponent will change blows. You'll click a cell on the computer's grid, the computer opponent will randomly pick a cell on your grid. You will keep doing this loop until either you or the computer has all five of your ships sunk. At this point either you or the computer has won the game
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
