A peg in the guess will generate feedback of either 1

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: l letters will be used in the examples to indicate colors. B for blue, R for red, and so forth. • The results of a guess are displayed with black and white pegs. The Wikipedia article refers to the results as feedback. • A black peg indicates one of the pegs in the player's guess is the correct color and in the correct position. • A white peg indicates one of the pegs in the player's guess is the correct color, but is out of position. • A peg in the guess will generate feedback of either: 1 black peg, 1 white peg, or no pegs. A single peg in the guess cannot generate more than 1 feedback peg. • The order of the feedback does not give any information about which pegs in the guess generated which feedback pegs. • The player's guesses must...
View Full Document

Ask a homework question - tutors are online