Skip to content

🎲 Guess My Number - A JavaScript mini game with a sleek interface and dynamic functionality. Challenge your skills with real-time feedback and intuitive design. Let the code play! πŸ’»πŸ”’

License

Notifications You must be signed in to change notification settings

SandunLB/Guess-The-Number-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Guess My Number!

Welcome to the Guess My Number! game, a fun and interactive web application built for entertainment and educational purposes. Test your guessing skills and see how high you can score!

Features

  • Dynamic Difficulty Levels: Adjust the difficulty from Easy (1-20), Medium (1-50), to Hard (1-100), which changes the range of possible numbers and the initial score.
  • Timer: Challenge yourself with a 60-second timer. The game ends when the timer runs out or you guess the number correctly.
  • Hints: Get accurate hints based on how close your guess is to the secret number, ranging from "πŸ”₯ Very hot!" to "🟒 Cold!".
  • Responsive Design: Optimized for both desktop and mobile devices.

How It Works

  1. Start the Game: Select a difficulty level to set the range of possible numbers and start with the initial score.
  2. Guess the Number: Enter a number and click "Check!" to see if you guessed correctly.
  3. Receive Hints: If your guess is incorrect, receive hints based on how close you are to the secret number.
  4. Reset the Game: Click "Again!" to reset the game and start over.

Installation

To run this project locally:

  1. Clone the repository:

    git clone https://github.com/SandunLB/Guess-The-Number-js.git
  2. Navigate to the project directory:

    cd guess-my-number
  3. Open index.html in your preferred web browser.

Technologies Used

  • HTML5: Markup language for the web structure.
  • CSS3: Styling for a modern and responsive design.
  • JavaScript: Game logic and interactivity.

Future Enhancements

  • Add user authentication to track scores and progress.
  • Introduce multiplayer modes for competitive play.
  • Expand the game with more challenging difficulty settings.

Contributing

Feel free to fork the repository and submit pull requests. Contributions are welcome!

Acknowledgements

Created by Sandun LB for educational purposes and fun.


Enjoy the game and happy guessing!

About

🎲 Guess My Number - A JavaScript mini game with a sleek interface and dynamic functionality. Challenge your skills with real-time feedback and intuitive design. Let the code play! πŸ’»πŸ”’

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published