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
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