Package mastermind.core.solvers
package mastermind.core.solvers
Human and algorithm solvers to solve the Mastermind game.
-
ClassDescriptionAn implementation of the Donald Knuth algorithm for solving the Mastermind game.An implementation of the MastermindAlgorithm class that provides a simple algorithm for solving the Mastermind game, by randomly choosing codes that have not guessed before.A solver that allows a human player to guess the secret code.Exception thrown when the hints provided to a solver are invalid.The standard interface for all algorithmic solvers.The ultimate base class, all solvers are derived from this class.An implementation of the medium algorithm, which is a modified and less-optimal version of the Donald-Knuth algorithm, for solving the Mastermind game.The status of the solver after guessing the code.