Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 562 Bytes

CodeBreaker.md

File metadata and controls

23 lines (14 loc) · 562 Bytes

Code Breaker

Anyone out there has more context on what's this supposed to be?

Background Info

Did you guess the string?

Specification

  • Returns an empty string for no matches
  • Returns a “-” for one number match
  • Returns a “+” for exact match
  • Returns a “--” for a 2 number match
  • Returns a “+-” for one number and on exact match
  • Returns a "++--" for two number matches and two exact matches
  • Returns a "+" for secret of 1124 and a guess of 5167 (Exact match is of higher imprtance)

Test Data

Use Case Scenarios