Code Breaker

Black
Blue
Brown
Green
Orange
Purple
Red
White
Yellow

Directions

Code breaker is based on the paper and pencil game known as bulls and cows. A commercial version was released as Master Mind. A player will guess what they believe the code to be and a number of black and white keys will be returned rating their guess. A black key indicates the correct color is in the correct position and a white key indicates a correct color in the wrong position. This version is set up as solitaire and allows selection of both the colors to be used and the number of columns in the code.

Scoring

  • Per Column 10
  • Per Color 10
  • Per Black Key 10
  • Per White Key 5
  • Max Guesses Number of columns * 2
  • Per Guess Number of columns * per column
  • Initial Max (max guesses * per guess) + (number of colors * per color)
Scoring will begin by calculating the initial max. Each turn taken will subtract the per guess amount and add the number of white and black keys returned. The faster a player arrives at the solution, the higher the score.
Additional info about Bulls and Cows and Master Mind