Mastermind
Mastermind is a project done for Fundamentals of Computer Science 2.
The player can click numbers corresponding to color dots on the screen. The goal is the figure out the code of colors with a chosen amount of tries, code length, and number of colors. The solution is at the top, covered with a black strip. Every guess, there will be two numbers on the side, the first indicating how many values are correct and in the right place and the second indicating how many values are correct but in the wrong place.
Highlights
- Adaptable code lengths
- Adaptable amount of colors
- Adaptable number of empty tries
- Right color but wrong place is not double counted, with each other and with the first number
- If won early, solution revealed and game ends, can not continue.
- Can backspace and requires enter to submit a try