Kruhlmann / gatekeeper

Fight club CAPTCHA bot
GNU General Public License v3.0
1 stars 4 forks source link

Let answer be a string #10

Closed ghost closed 4 years ago

ghost commented 4 years ago

Let answer be a string so we properly handle decimal places for integers. Also allows better future expansion.

There was a bug where if the intended answer was "4.0" the number.toString is "4". Which would never match.

Kruhlmann commented 4 years ago

This should be implemented when the generator structure is completed to avoid unnecessary conflicts