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
Get step-by-step solutions from verified subject matter experts
