Skip to content

Latest commit

 

History

History

314-guessingGame

guessingGame

Interview question of the issue #314 of rendezvous with cassidoo.

The Question

Make a "guessing game" where there is a target number, and as the user makes guesses, the output returns higher or lower until the user is correct.

Example usage:

Guess the number!
> 10
higher
> 20
higher
> 30
lower
> 25
higher
> 27
Correct! You won in 5 guesses!

Installing & Running

Just pnpm i to install all dependencies and then pnpm t to run the tests!