Crate codebreaker_solver

Source

Structsยง

Code
Hint
Hints are generated in response to guesses, to give the codebreaker a glue how many pegs fit both, in color and position, and how many pegs only match in color.
Peg
A peg represents one of the places in the code which has to be guessed. Usuall represented as colors or numbers. The default version of codebreaker uses 6 different kind of pegs.
Solver
A solver for codebreaker