2023 The template has the outline of a battleship game using OO constructs You need to add the | Assignment Collections
Computer Science 2023 The template
2023 The template has the outline of a battleship game using OO constructs You need to add the | Assignment Collections
The template has the outline of a battleship game using OO constructs. You need to add the Grid class and complete the code so that it runs correctly. At a minimum you need to complete the Draw and DropBomb methods with code similar to the previous assignment. There will be changes due to the different layout but the core of your code will do the same thing. we are adding 2 new features: 1.Variable sized grid – the trivial part of this is making a 2d array based on the passed in size. The second part is adding some ships to that grid – we cannot use the constant array from week #1. You need to come up with a very simple algorithm to add a few ships to the grid. This is purely test code so it doesn’t have to be sophisticated in any way (there is time for that later in the class). If you can’t think of any ways ask in the forums. 2.Game over detection. This will be implemented in the readonly property Grid.HasShipsLeft. In this property you will determine if there are any ships left not hit with a bomb by looking through the array for any remainng ships and returning true or false. You may add as many other methods, fields or properties as you feel are required for the assignment
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.