subject
Engineering, 03.03.2020 01:36 dejanaej6

Computer language C++ (Connect 4 game)( this is all the info that was givin no input or solution) I used the most recent version of Microsoft visual studio for this program)Your solution must have these classes and at least these fields / methods. Your program must use the methods described in a meaningful fashion. You can create additional fields or methods but these the below should be core methods in your solution. Checkers classfields:colormethods:Constructo rint getColor()string toString() - returns an attractive string representation of itselfBoard classfields:2D array of checkers - represents the game board (6 row by 7 column)methods:Constructorstring toString() - returns an attractive string representation of itselfThis needs to be an attractive table representation of the game board with aligned rows / columns with characters representing blank cells, cells with a red checkers in it and cells with a gold checkers in it. int dropChecker(Checker, int) - drops a checker object down a particular slot. Returns an int indicating success or not. int isWinner() - returns code number representing no winner or player number of winnerPlayer classfields:namecolormethods:Constr uctorget / set methods for fieldsstring toString() - string representation of itself. Example String representation of the board (X means blank, R means red checker, G means gold checker)X X X X X X XX X X X X X XX X X X X G XX X X X X R XX X X X X R XX R G G G R GMainYour program should create two Players and a Board. It should represent the initial Board to the screen. You should then alternate between player 1 and player 2 and randomly drop checkers down slots in the board. You should represent the board after each checker drop. This should stop if there is a winner or if the board fills up. You should be turning in a Checker. h, Checker. cpp, Board. h, Board. cpp, Player. h, Player. cpp and a main. cpp

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Ahouse has the following electrical appliance usage (1) single 40w lamp used for 4 hours per day (2) single 60w fan used for 12 hours per day (3) single 200w refrigerator that runs 24 hours per day with compressor run 12 hours and off 12 hours find the solar power inverter size in watt with correction factor of 1.25.
Answers: 1
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
You know the right answer?
Computer language C++ (Connect 4 game)( this is all the info that was givin no input or solution) I...
Questions
question
Mathematics, 21.01.2021 09:50
question
Mathematics, 21.01.2021 09:50
Questions on the website: 13722360