Code Monkey home page Code Monkey logo

prodigy_sd_02's Introduction

PRODIGY_SD_02

A simple guessing game

Guessing game

Challenge yourself with a number guessing game! The computer secretly picks a number between 0 and 1,000,000. Your job is to guess it! Each time you enter a number, you'll get a clue: higher if your guess is too big, or lower if it's too small. Keep guessing until you crack the code, and the game will reveal how many attempts it took you to win.

Features:

  1. The game picks a random secret number between 0 and 1,000,000.
  2. Players can guess the number by entering values in the GUI.
  3. Feedback is provided after each guess, indicating if the guess is higher or lower than the secret number.
  4. Once the player guesses correctly, the game displays the number of attempts it took to win.
  5. The GUI is built using Java Swing components.

Requirements:

Java Runtime Environment (JRE) 8 or later.

Instructions:

  1. Download the Guessing Game.jar file.
  2. Double-click the .jar file to run the game.
  3. Enter your guess in the text field and click the "Guess" button.
  4. The game will provide feedback on your guess.
  5. Keep guessing until you find the secret number!

prodigy_sd_02's People

Contributors

ah-hesham 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.