Write a program that plays a guessing game with its user. The program chooses one of five colors at random and allows the player three turns to guess the color. Display messages to the player as appropriate. Define the class ColorChooser that has a constructor and a method getRandomColor. This method returns one of five colors at random as a string. This color is the one the user must guess. Define another class that plays the game.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here