Skip to content

Create Combination Checker

Heal, Louis requested to merge create-combination-checker into master

Create a class that can generate a response from a guess and an answer:

  • If the guess is 1122 and answer is 1111, then the response should be BB to signify that there are 2 pegs in the correct position Add a function in the same class that returns true if an answer is possible, given a guess and a response

Merge request reports

Loading