Guessing game is a game where you need to guess the predetermined random number chosen by the computer within 7 tries. After each try you will get instructions on if the predetermined number is lower or higher than the one you guessed. Upon completion the game will calculate the success percentage. You can also ask the AI for Help.
Live version is here
Code is here
- Counter
- Local storage
- Instructions
- Success percentage
- Binary search algorithm
- Made completely in vanilla JavaScript.
- Styled in vanilla CSS.
- HTML 5
- CSS 3
- JavaScript ES6
Make sure you have Node.js installed:
https://nodejs.org/en/
Make sure you have Git installed:
https://git-scm.com/
Clone the github repo:
$ git clone https://github.com/nenadpejic/guessing-game
Run with a live server extension or just by running index.html.
Guessing Game is one of my projects during IT Bootcamp course on JavaScript.
