GithubHelp home page GithubHelp logo

yeasa / guess-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

Guess the Number is a simple web-based game where the player tries to guess a random number.

Home Page: https://guess-game-lyart-three.vercel.app

HTML 31.10% JavaScript 48.55% CSS 20.35%

guess-game's Introduction

Features
1. Random Number Generation: A random number between 1 and 100 is generated at the start of each game.
2. User Input: The player can enter their guess in a text input field.
3.Feedback: After each guess, the game provides feedback indicating if the guess is too high, too low, or correct.
4.Attempt Tracking: The game keeps track of the number of attempts and displays it to the player.
5. Win/Lose Conditions: The game notifies the player if they win by guessing correctly or lose by exceeding the 12 attempts.
6.Restart Option: Players can restart the game to try again.


Technologies Used

  • HTML: For structuring the game interface.
  • CSS: For styling the game.
  • JavaScript: For game logic and interactivity.
"Guess the Number" is a simple web-based game where the player tries to guess a randomly generated
number between 1 and 20 within 12 attempts. The game provides feedback on whether the guess is
too high or too low, and keeps track of the number of attempts made.
If the player guesses the number correctly within the allowed attempts, they win; otherwise, they lose.

guess-game's People

Contributors

yeasa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.