prateekkalra / guess-game

The classic guess the number game with some extra features.Try it
https://prateekkalra.github.io/guess-game/
41 stars 102 forks source link

fix losing when you get it right on the last attempt #59

Closed Raader closed 1 year ago

Raader commented 3 years ago

it fixes it by giving end a value of either "win" or "lose" and it checks attempt right after it checks if the guess is true.