Question: So this is basic BattleShip game written in C++ language. it should use a 6*6 board. This is a single-player game where the player tries

So this is basic BattleShip game written in C++ language.

it should use a 6*6 board. This is a single-player game where the player tries to guess where computer placed 2 ships. (size 2 and 3)

Basic explanation and requirement are printed below.

It must use arrays and no strings.

Please don't use vector please.

Thank you very much.

So this is basic BattleShip game written in C++ language. it should

use a 6*6 board. This is a single-player game where the player

tries to guess where computer placed 2 ships. (size 2 and 3)

Basic explanation and requirement are printed below. It must use arrays and

no strings. Please don't use vector please. Thank you very much. Learning

Learning objectives: The intent of this programing project is to allow you the opportunity to demonstrate your ability to solve problems using procedural C++ programming. This project will focus on using loops, functions, random numbers, and arrays in the implementation of a modified version of the board game Battleship Program Description: In this project, you will write a C++ program that simulates a modified version of the board game Battleship. In this version there will only be one player who will try to find the two ships, a Destroyer and a Submarine, that the computer has randomly placed somewhere on the 6x6 grid board (i.e. the ocean) The Destroyer take-up two positions in the 6x6 grid whereas the Submarine takes up three positions. Ships can only be place horizontally or vertically on the 6x6 grid. Destroyer Submarine

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!