Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 608 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 608 Bytes

Mastermind

Mastermind is a board game coded entirely coded in Java. In this game, a codebreaker tries to guess the pattern, in both order and color, within a certain number of turns. Each guess is made by placing a row of code pegs on the decoding board. Once placed, the codemaker provides feedback by placing from zero to four key pegs in the small holes of the row with the guess. A colored or black key peg is placed for each code peg from the guess which is correct in both color and position. A white key peg indicates the existence of a correct color code peg placed in the wrong position.