5 releases
Uses old Rust 2015
0.1.5 | Jun 28, 2018 |
---|---|
0.1.4 | Jun 28, 2018 |
0.1.3 | Jun 28, 2018 |
0.1.2 | Jun 28, 2018 |
0.1.0 | Jun 24, 2018 |
#882 in Games
12KB
330 lines
Mastermind
Game Description
Based off of the old board game. The user enters a number, which generates a hidden code comprised of that many colors (ROY G BIV + black/white), where duplicates are allowed. The user then has 12 attempts to guess what the code is.
Possible Guesses
- R => Red;
- O => Orange;
- Y => Yellow;
- G => Green;
- L => Blue;
- I => Indigo;
- P => Purple;
- B => Black;
- W => White.
Possible Responses
- - => the guess was completely wrong;
- 0 => the color is correct, but it is in the wrong place;
- 1 => the color is correct and is in the right place.
Authors
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
Thanks to the creators of Mastermind.
Dependencies
~400KB