higher-or-lower

A guessing game

Usage no npm install needed!

<script type="module">
  import higherOrLower from 'https://cdn.skypack.dev/higher-or-lower';
</script>

README

Higher or Lower

A guessing game!

Install

$ npm install higher-or-lower

Syntax

guess(myGuess, number);
const guess = require('higher-or-lower');

console.log(guess(1, 2));

// Higher!!!

console.log(guess(2, 1));

// Lower!!!

console.log(guess(1, 1));

// You guessed it!