Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How are you supposed to start it? Because I am completely lost and need help This assignment is a console application. The graphic below is
How are you supposed to start it? Because I am completely lost and need help
This assignment is a console application. The graphic below is for illustrative purposes only. The real game doesnt look this good (i.e. don't sue me). Your mission, if you accept it, is to write complete a two-player game program. Create a Game class that has an array of 11 characters as a private variable. The constructor must create the array and fill it with spaces (ie.). - The display method must print the array using Console.Write and WriteLine. The move method accepts - a char that represents the player (B' for blue, 'R' for red - a position on the board that should be checked 0 and 11) The full method returns true if all the spaces on the board are occupied - The score method computes a score: 4 points for two in a row, 6 points for three in a row, 8 points for four in a row, etc Examples If the board is RRRBBBBRBRB, then red has 6 points, blue has 8 points If the board is RBBRRBBBRRR, then red has 10 points, blue has 10 points Here is the main routine that runs the program. You must write the Game class class ProgramStep 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