Player One will set a code of four colored (red, blue, green, yellow) pegs in the CODE line by clicking on the black circles and selecting a color. Once they have the code they want they will click the Hide button to hide their code. Player Two then has ten turns to guess the code. Player Two will guess by clicking on the first four black circles to select their colors and then click submit. After each guess from Player Two, Player One will click on the last four circles and display a white peg if they have a correct color but in the wrong location, a brown peg if they have a correct color in the correct place, or a black peg if a peg is not correct and then click submit.