Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please, help me on this. CSCE 1030 Homework 5 Due: 11:59 PM on Monday, November 20, 2017 1 of 7 PROGRAM DESCRIPTION In this C++
Please, help me on this.
CSCE 1030 Homework 5 Due: 11:59 PM on Monday, November 20, 2017 1 of 7 PROGRAM DESCRIPTION In this C++ program, you will start building the software infrastructure that will allow you to play a simplified version of the classic game of Stratego that will display to the screen. In Homework 6, you will continue the work begun here to finish the development of the game REQUIREMENTS As with all programs in this course, your program's output should initially display the department and course number, your name, your EUID, and your e-mail address. This functionality will be implemented using a function that you call from your main () function .You will display an introductory message, giving basic details and rules of the game (see SAMPLE OUTPUT). This functionality will be implemented using a function that you call from your main) function. You will declare a two-dimensional array in main) to represent the 5-by-5 board as an enum type you declare to represent the various values that a square can assume. In addition to being EMPTY, that is, unoccupied, each square on your board may contain one of the following values (according to the rules of the game) FLAG BOMB MARSHAL GENERAL COLONEIL MAJOR CAPTAIN LIEUTENTANT SERGEANT MINER SPY The size of the square board should be declared as a constant, but it is up to you whether or not it is a local or global constant. Note that your enum type may support additional elements as needed for the implementation. . You will also declare a corresponding two-dimensional array in main) for the 5- by-5 board that represents the two colors, RED and BLUE, as an enum type. This array will keep track of each player's game pieces, either RED or BLUE, on the
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started