Inspiration
I found that there is no any simple game in which you don't need to think anything while playing So I started making one and here it is..
What it does
It is a simple html based game where you have to guess the randomly generated secret number, There are 3 different levels EASY MEDIUM HARD, to start the game you have to select 1 level There are clickable buttons of each number you want to guess , if the guess is wrong that particular numbered button will get faded and right guess will give you your Score. Also there is a timer and guess limit in which you have to complete the game. It is Fun!!!
How I built it
I Have HTML CSS And JavaScript.
Challenges I ran into
1 I have used multiple html pages and to display score and secret number after player gives up and need to pass a value from one html page to another through JavaScript initially I was unable to do so But then after some exploration I come to know about sessionStorage.setItem and sessionStorage.getItem which solved the problem. 2 I was unable to pass the value of clicked button to the JavaScript to check weather it it right or not but then I set the id of the button as the value of it and passed the id to function in JavScript as reply_click(this.id) [reply_click is the function and this.id passed the id ]
Accomplishments that I am proud of
The UI of the game and it is completely done my me from scratch.
What I learned
I learned basic as well as complex concepts of html CSS and JavaScript
What's next for || Guess The Number ||
I want to shift the game from html to a App made by me.



Log in or sign up for Devpost to join the conversation.