This is a simple guessing game built using HTML, CSS, and JavaScript, leveraging DOM manipulation to create an interactive and engaging user experience.
"Guess My Number" is a fun and simple game where the player tries to guess a randomly generated number within a specified range. The game provides feedback for each guess, indicating whether the guessed number is too high, too low, or correct. The objective is to guess the number in as few attempts as possible.
- Random number generation within a specified range
- User input for guessing the number
- Feedback on guesses (too high, too low, correct)
- Count of the number of attempts
- Option to restart the game
- In-game manual
To run this project, you only need a web browser. No additional installations or dependencies are required.
-
Clone the repository:
git clone https://github.com/dimak-dev/game_guess-my-number.git
-
Navigate to the project directory:
cd game_guess-my-number
- Open the index.html file in your web browser.
- Enter your guess in the input field.
- Click the "Check" button to submit your guess.
- Read the feedback to adjust your next guess.
- The game ends when you guess the correct number.
- Click the "New Game" button to restart the game.