In this game you have to guess the colors that the computer randomly selects. The sooner the higher the score.
>>> import mastermind
Welcome to Mastermind
Version: 0.9.7
Choose five of these colors: green red blue pink yellow orange gray
12: pink,yellow,red,blue,orange
########################################
white color = 2 , black color = 2
########################################
11:
11: green,red
Difficulty receiving from input.
11:
Difficulty receiving from input.
4: pink,yellow,green,red,blue
yeahhh you win your score 40
There are seven colors. The computer selects five randomly.
green, red, blue, pink, yellow, orange, gray
You are allowed twelve times.
If your color and place are correct, one will be added to the white key pegs.
If the color is correct but the place is wrong, one will be added to the black key pegs.
Of the five colors you sent, 2 have the right place and the right color, and two have the right color and the wrong place, and you have to change one color.
Contributions are always welcome!