Code Breaker Game

The object of this game is to guess the color pattern of four pegs that the opponent has been selected (or selected at random from by the computer) within maximum number of attempts. There should be a codemaker and codebreaker to play the game. The codemaker decides a sequence of four code pegs of six different colours. The codebreaker should guess the pattern in both order and color within number of attempts (may be 8, 10, 12) with the help of the marks given by using four key pegs in black and while colours. Each guess is made by placing a row of code pegs on the board. The codemaker provides the feedback by placing key pegs besides the row. A black colored key peg is placed for each correct peg in both color and position and a white key peg is placed for each peg in the correct color but in the wrong position.


Screenshots