subject

"Battleboats" is a probability-based board game that challenges the user to locate enemy boats hidden on a rectangular 10x10 grid. The purpose of the game is to locate and destroy every enemy boat in the least number of guesses. Each boat consists of n squares arranged in a row on the board. The game proceeds as players alternatingly guess squares on their opponent’s board in an attempt to "hit" their boats. A boat is "sunk" when each square that it occupies is "hit" by the opponent’s guess. It is important for the game to keep track of the position and orientation of each boat on the board, as well as which squares of the boat have been hit. Your task for the second part of this assignment is to design a BattleBoat class to maintain all the necessary information for a single boat. (Assume that the game board contains multiple instances of the BattleBoat class, one for each boat.)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Jessie has received a contract to build a real-time application for a baker. however, the baker doesn't want to invest too much money. his only requirement is that he wants the customers to know which cupcakes are available at what time and in what quantity. so his core requirement is that the details of product should be in real time. what platform can jessie use to develop this application?
Answers: 1
question
Computers and Technology, 22.06.2019 06:30
Selective incapacitation is a strategy to reduce prison population
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
You know the right answer?
"Battleboats" is a probability-based board game that challenges the user to locate enemy boats hidde...
Questions
question
Mathematics, 01.03.2021 18:20
question
English, 01.03.2021 18:20
question
Mathematics, 01.03.2021 18:20
Questions on the website: 13722359