Hey Dev.to community! π I'm excited to share a fun and interactive project I've been working on: the Guess My Number Game. In this post, I'll give you a sneak peek into the game and show you how to play it. Let's dive right in!
About the Project
The Guess My Number Game is a simple yet engaging game built using JavaScript and DOM manipulation. It's a great way to practice your programming skills while having fun at the same time! The game randomly selects a secret number between 1 and 20, and your goal is to guess that number within a limited number of attempts.
How to Play
Playing the game is a breeze:
The computer selects a secret number between 1 and 20.
You input your guess in the provided field.
After each guess, you'll receive a hint about whether your guess is too high or too low.
Keep guessing until you get it right or run out of attempts.
Features
π’ Number Guessing: Put your intuition to the test by guessing the secret number.
π‘ Hints: Receive helpful hints after each guess to guide you towards the correct answer.
π Winning: Celebrate when you guess the correct number and see if you can beat your highscore!
How to Play
Clone the repository to your local machine:
git clone https://github.com/MohammedAfthab18/guess-my-number.git
Top comments (0)