CoderanchCorral / Blackjack

Mozilla Public License 2.0
17 stars 2 forks source link

Change/enhance "yes or no" processing in InputUtility #33

Closed ksnortum closed 3 years ago

ksnortum commented 3 years ago

Currently, when the InputUtility method getYesNo is used, it forces the user to enter a "yes or no" predicate and hope that the user's predicate has a "yes" value that matches the YES list constant. Instead, the utility should use the internal yesOrNo predicate to make sure only a positive or negative response was inputted.