Guess the color of hidden pegs. A deduction game where each player takes turn making a limited number of guesses, using logic to deduce what pegs the opponent has hidden.
One player secretly puts four colored pegs in the spaces behind a screen at once end of the game board. The other player, the code breaker, makes a series of guesses. After each guess, the code maker uses smaller pegs to tell the code breaker if their guessed pegs are the right color and in the right place, are the right color but the wrong place, or are the wrong color entirely. The code breaker makes another guess in the next row, building upon information from previous guesses, trying to match the pegs the code maker hid at the beginning of the game.
This is a two-player game with 4 holes. For other combinations, please see the Mastermind family.
According to Wikipedia, Mastermind re-implements a game called Bulls and Cows of unknown origin being quite old (possibly more than a century old). Mastermind itself was invented in 1970 by Mordecai Meirowitz. It resembles the public domain idea and principles of Bulls and Cow. Certain IP on technical solutions of Mastermind is or has been protected by patents like in United States Patent US4241923.
This is a simple one player version of the Mastermind game implemented in Excel. Click new to clear the board and set a new code using the numbers 1,2,3,4,5,6. Enter each guess into the highlighted rows. When a row is complete (four numbers present) it is automatically evaluated. The graphics are not great, but the game is totally playable. Must have macros enabled to play else no new codes can be generated.