An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

![image](https://github.com/Anastasios3/Simple-Guess-My-Number-Game/assets/117446378/f8459cdc-2766-4827-8d0a-f2d99697b997)

# 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.