Skip to content

KARTHIK-004/GUESS_MY_NUMBER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# GUESS MY NUMBER

A simple and interactive browser game where the player tries to guess a randomly generated number. Built using HTML, CSS, and JavaScript, this game demonstrates basic DOM manipulation, event handling, and game logic.

## 🌐 Live Demo
Play the game here:  
👉 https://karthik-004.github.io/GUESS_MY_NUMBER/

## Overview
In this game, the computer generates a random number between a defined range. The player inputs guesses and receives feedback on whether the guess is too high, too low, or correct. The game tracks the number of attempts and displays messages based on the outcome.

## Key Features
- Random number generation
- User inputs for guesses
- Feedback messages on guess accuracy
- Score tracking and attempt count
- Simple and responsive interface

## Technology Stack
- HTML5
- CSS3
- JavaScript (ES6)

## Getting Started

### Prerequisites
A modern web browser (Chrome, Edge, Firefox, etc.)

### Installation
1. Clone the repository:
   ```bash
   git clone https://github.com/KARTHIK-004/GUESS_MY_NUMBER.git
  1. Navigate to the project directory:

    cd GUESS_MY_NUMBER
  2. Open index.html in your browser to start the game.

How to Play

  1. Enter a number in the input field.
  2. Click the “Check” button or press Enter.
  3. The game will tell you if your guess is too high, too low, or correct.
  4. Keep guessing until you find the correct number.

Project Structure

GUESS_MY_NUMBER/
├── index.html
├── style.css
├── script.js
└── README.md

Use Case

This project is ideal for:

  • Practicing JavaScript fundamentals
  • Learning DOM manipulation
  • Building interactive browser games
  • Strengthening front-end development skills

License

This project is open-source and intended for educational and personal use.


⭐ If you like this project, consider giving it a star on GitHub!

About

An interactive number guessing game built with JavaScript where players try to guess a randomly generated number with feedback on each attempt.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors