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, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:20
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:20
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
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, 02.10.2020 15:01
question
History, 02.10.2020 15:01
question
Mathematics, 02.10.2020 15:01
Questions on the website: 13722367