https://github.com/anastasios3/simple-guess-my-number-game
A fun number guessing game where players try to guess a random number between 1 and 20. Built with HTML, CSS, and JavaScript.
https://github.com/anastasios3/simple-guess-my-number-game
css javascript simple-game simple-project
Last synced: 9 months ago
JSON representation
A fun number guessing game where players try to guess a random number between 1 and 20. Built with HTML, CSS, and JavaScript.
- Host: GitHub
- URL: https://github.com/anastasios3/simple-guess-my-number-game
- Owner: Anastasios3
- Created: 2024-05-10T19:46:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T10:39:00.000Z (about 2 years ago)
- Last Synced: 2025-03-17T17:19:10.017Z (over 1 year ago)
- Topics: css, javascript, simple-game, simple-project
- Language: JavaScript
- Homepage: https://anastasios3.github.io/Simple-Guess-My-Number-Game/
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Simple Guess My Number Game
Welcome to the Simple Guess My Number Game! This project is a fun and interactive number guessing game built using HTML, CSS, and JavaScript.
## About This Project
The Simple Guess My Number Game is designed to challenge players to guess a randomly generated number within a given range. It's a great example of how to handle user input, provide feedback, and implement game logic in JavaScript.
## Features
- **Random Number Generation:** A new number is generated each game.
- **User Input:** Players enter their guesses via an input field.
- **Feedback:** Players receive feedback on whether their guess is too high, too low, or correct.
- **Score Tracking:** Tracks the number of attempts taken to guess correctly.
- **Reset Functionality:** Option to reset the game and play again.
## Live Demo
Check out the live version of the game here: [Simple Guess My Number Game](https://anastasios3.github.io/Simple-Guess-My-Number-Game/)
## How to Play
1. **Objective:**
- Guess the randomly generated number between 1 and 20.
2. **Gameplay:**
- Enter your guess in the input field and click "Check!"
- You will receive feedback if your guess is too high, too low, or correct.
- Your score (number of attempts) is tracked.
3. **Winning the Game:**
- Guess the correct number to win the game.
4. **New Game:**
- Click "Again!" to reset the game with a new number and try again.
## Technologies Used
- **HTML5**
- **CSS3**
- **JavaScript**
## Contact
For any inquiries or job opportunities, feel free to reach out.