Consider a game called Sea Battle. It\'s similar to a classical board game where
ID: 3568113 • Letter: C
Question
Consider a game called Sea Battle. It's similar to a classical board game where players place ships on a
10 by 10 grid and attempt to sink each other's fleet. Each player takes turns giving the other player
coordinates. The other player either yells HIT or MISS determining whether or not a ship was hit. The
first player to have all opponent ships sunk is the winner.
The game has five types of ships which can be placed either horizontally or vertically on the grid:
? generate a game board with one of the ships randomly placed
? output the game board with the placement of the ship
c++ code
Ship Type Size Aircraft Carrier 5 Battleship 4 Submarine 3 Destroyer 3 Cruiser 2Explanation / Answer
100% Fresh answer, guaranteed to get you best grades possible. Just check it out: http://programmingtutor3.tk/
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.