{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

First thing to do is read the wikipedia article on the

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: multiple classes to play a text based version of the board game called Mastermind. You are free to use whatever classes and methods from the JAVA library you wish to use. First thing to do is - Read the Wikipedia article on the game of Mastermind at: http://en.wikipedia.org/wiki/Mastermind_(board_game) The version of the game you implement will have the following properties. • The computer will randomly generate the secret code. • The player will try to guess the secret code. • The player has 12 guesses to guess the code correctly. • If the player does not guess the code correctly in 12 or fewer guesses they lose the game. • The secret code consists of 4 colored pegs in specific position order. • The valid colors for the pegs are blue, green, orange, purple, red, and yellow. Capita...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online