Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please include algorithm CSCE 1030-Project 3 Due: 11:59 PM on Friday, March 30, 2018 PROGRAM DESCRIPTION In this C++ program, you will use concepts from

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribedPlease include algorithm
CSCE 1030-Project 3 Due: 11:59 PM on Friday, March 30, 2018 PROGRAM DESCRIPTION In this C++ program, you will use concepts from Chapters 5 and 6 in zyBooks to create 1030 Connect where the object of this game is to connect four discs in a row, either horizontally or vertically before your opponent (i.e., the computer) does. The game board has a fixed number of 6 columns while the number of rows varies between 4 and 6, inclusively, based on input from the user. 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)o function. You will display an introductory message, giving basic details and rules of the game (see SAMPLE OUTPUT) This functionality will also be implemented using a function that you call from your main ) function You will declare an enumerated data type that will support three values: (1) an (i.e., a space on the game board that does not have a RED or BLUE disc placed in that location). (2) a RED disc occupying that location, and (3) a BLUE disc occupying that location. Note that your enum type may support additional elements as needed for the implementation .You will prompt the user to enter the number of rows on the board between 4 and 6 rows, inclusively. If the user enters an invalid value outside of this range, you will print out an error message and repeatedly continue to prompt the user to 1 NS 5 6 7 8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

Briefly explain the various types of leadership ?

Answered: 1 week ago

Question

Explain the need for and importance of co-ordination?

Answered: 1 week ago

Question

Explain the contribution of Peter F. Drucker to Management .

Answered: 1 week ago

Question

Is conflict always unhealthy? Why or why not? (Objective 4)

Answered: 1 week ago