Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess My Number

Guess My Number is an interactive game developed with JavaScript, HTML, and CSS, where the player has to guess a number between 1 and 20. With each attempt, the game provides feedback on the guess, guiding the player towards the correct number.

Description

The player’s goal is to guess the randomly chosen secret number between 1 and 20. After each guess, the app gives hints like "too high" or "too low" and adjusts the score accordingly. The game continues until the player guesses correctly or the score reaches zero.

Features

  • Feedback for each guess:
    • "Too high" – if the guessed number is higher than the secret number.
    • "Too low" – if the guessed number is lower than the secret number.
    • "Correct number" – if the guessed number matches the secret number.
  • Adjustable score displayed in real-time.
  • Option to start a new game with a new secret number.

Screenshots

Start Screen

Start Guessing

"Too High" Feedback

Too High

"Too Low" Feedback

Too Low

"Correct Number" Screen

Correct Number

Technologies Used

  • HTML
  • CSS
  • JavaScript

How to Run the App

  1. Clone the repository:
    git clone https://github.com/OrasanuAna/Guess-My-Number.git
  2. Open the index.html file in a web browser to start the game.

Credits

This project was developed as part of the The Complete JavaScript Course: From Zero to Expert! by Jonas Schmedtmann.

About

An interactive number-guessing game built with JavaScript, HTML, and CSS. This project challenges users to guess a randomly generated number, providing feedback on each attempt. Ideal for practicing JavaScript logic, DOM manipulation, and basic game development concepts.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages