mastermind 0.1.5

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. See the rest on GitHub.
Documentation
  • Coverage
  • 0%
    0 out of 19 items documented0 out of 5 items with examples
  • Size
  • Source code size: 12.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 350.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • curtiswilcox

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.