Mike's BATTLE BOAT is a simplified computer version of the popular board game BATTLESHIPS where: A human plays against the computer and where all ships are of size/length one. Task is to write a program in C++ that enables user to play BATTLE BOATS against a computer opponent. For example of the [url removed, login to view] see zip file-Battle boat
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. Program should contain the following function. 1.Initialise_Game: A function to initialise/start the game so that 5*5 grids of the human's moves,computer's moves,human's [url removed, login to view] computer's ships are all [url removed, login to view] 5 ships should be placed at random locations inside the human ships and the computer's ships [url removed, login to view] should use the current time to seed the random number generator(srand ((unsigned) time(&t)); 2.Draw_Game_Board: A function to draw the game 5*5 grid of the human's ship(and show where the computer has bombed and either missed or hit the human's ship),and the 5*5 grid of human's move(and show where the human has bombed and either missed or hit the computer's ship). 3.Get_Human_Move: Promote the user for a row and column for their [url removed, login to view] function should then check that the selected square is valid and free ,and if it isn't then it should display appropriate error messege and re-prompt to [url removed, login to view] exe file for demonstration. 4.Get_Computer_Move: A function to determine a reasonable move for computer [url removed, login to view] function should keep looping through rows and columns at random until a square is found where the computer has not yet [url removed, login to view] exe file plz. 5.Check_Game_Status: A function to determine if we have a winner yet(either player has bombed all of the other players ships).There is no such thing as a draw in this game. The program should be very very simple with commenting as well.A series of ID arrays is fine or 2D Arrays(which ever makes code easier to understand).It should be made in C++.Should be made in Microsoft Visual C++ [url removed, login to view] should use at AT LEAST these C++ [url removed, login to view] more,if it really needs to. #include don't use #includedon't use #includedon't use using namespace std; Programe should be similar to Battle [url removed, login to view] file.
Microsoft Visual C++ 6.0. Windows 98,Windows 2000 and Windows XP