Question: need to create the game mastermind in C language. Heres the rules and premises of what I need help creating the sequence will contain peg

need to create the game mastermind in C language. Heres the rules and premises of what I need help creating

the sequence will contain "peg" colors: blue, green, orange, purple, red, and yellow

a color can be used multiple times within the sequence

all pegs must be filled when guessing the sequence

the player will only have 10 guesses

after each guess, player will be told whether each peg has the correct color and position designated by a black peg, a white peg will be used if the peg is of the right color but in the

wrong position or blank for a peg thats not the right color and wrong position

each sequence will contain 6 spots

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!