Instructions: Type a number on the keyboard and press the left-click mouse on the "Are you Sure?" Button

One of the main reasons why I love programming is because I think learning programming is best done through creating video games. Whether it's a complex or a beginner video game. This game is not a complex game but a straightforward game: Guess The Number. I used HTML, CSS, and JavaScript to create the game for the web. 

My Javascript programming is still intermediate and I'm still looking to improve on the language but this game has definitely leveled up my Javascript programming. 

In Guess The Number, there will be three screens. The first screen is the start screen then comes the game screen, where (obviously) the users can play the game, and the last screen is the end screen which it displays the user's final score.  

To start things off, I selected my code editor (Visual Studio Code) and started picking the right fonts and colors to display the screen. Then I wrote the HTML of the game; I wrote the CSS for the game, start and end screen; The logic of the game will then begin to be written in  JavaScript. An example of this is accessing and checking the input of the user and seeing whether the user input is right or wrong. Another example of this is writing the logic for the end screen. I will display the end screen and display the score to the user. 

Leave a comment

Log in with itch.io to leave a comment.