[Solved]Design Ai Playing Multiplayer Battleship Specification Game Played Nxn Grid Player Place S Q37165496
Design the AI for playing multiplayer Battleship.
Specification
- The game is played on an NxN grid.
- Each player will place a specified set of ships
- The ships will vary in length from 2 to 7.
- There can be any number or any size ship including 0.
- EXCEPT the length 7 ship – the battleship – which there willalways be 1.
- Player order will be random but fixed at the start of thegame.
- Each round consists of each player making a grid selection inturn.
- Each grid selection will be played into all player’s grid.Including the current players grid.
- Each player will respond with HIT, MISS or SANK {shipname}.
- If a player’s battleship is sunk that player is removed fromthe game.
- Repeat from #4 until 1 player remains.
- That player is the winner.
Deliverables
In a word document provide the following:
- A high level narrative description of the algorithms you willuse to determine the grid selection when it is your turn (step #4above).
- More detailed pseudocode that describes specific parts of thealgorithm. Note that all players are informed of all guesses andresults (step #5 and #6 above) and you may (should?) store and usethat information as part of your algorithm.
- Data Structures you will need to store any data as part ofthose algorithms.
- A high level OO design for the classes you will need toincorporate the algorithms and data structures. A class diagramwill be acceptable as will an outline of the class definitions in aVisual Studio project (i.e., empty classes with no code inside themethods).
- Define the APIs/Entry points for the code in specification4/5/6. Specifically, what information would you expect to bepassed, returned for you to be able to implement your algorithm.Note that this may require you to add some data structures todeliverable #2. Justify why you need any parameters passed in andwhy you think the return values would be needed.
You cannot expect to have direct access to any information aboutother players other than what is provided by steps #5 and #6. Thismean that you cannot query a player for the state of their grid.Clearly this would be cheating!
You are not expected to write C# code for this assignment andany code provided will not be graded other than an API outline.
The level of detail for this assignment should be enough to giveto another developer to implement. This means a lot of detail.
You do NOT have to specify the code that will run the game,determine if you have won, or any other plumbing code.
Expert Answer
Answer to Design the AI for playing multiplayer Battleship. Specification The game is played on an NxN grid. Each player will plac… . . .
OR

