Skip to content

Umerjamshaid/Umer-Jamshaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Number Guessing Game

Author: UMERJAMSHIAD
Roll Number: ?
Email: [email protected]

Creating a Number Guessing Game in Python.

Python

Introduction

This Python script implements a simple Number Guessing Game. The user is required to guess a randomly generated number between 1 and 100. The game provides feedback on whether the guessed number is too low, too high, or correct. The objective is to guess the number in the fewest attempts possible.

How to Play

  1. Run the Python script number_guessing_game.py.
  2. Follow the on-screen instructions to input your guess.
  3. The game will provide feedback on whether your guess is too low, too high, or correct.
  4. Keep guessing until you correctly guess the secret number.

Features

  • Generates a random number between 1 and 100 for the user to guess.
  • Tracks the number of attempts made by the user.
  • Provides feedback on whether the guess is too low, too high, or correct.
  • Congratulates the user upon guessing the correct number.

Usage

  1. Clone this repository to your local machine.
  2. Navigate to the directory containing the Python script.
  3. Run the script using Python 3: python number_guessing_game.py.
  4. Follow the on-screen instructions to play the game.

Requirements

Python 3.x

Contact

For any inquiries or feedback, feel free to contact the author at:
Email: [email protected]

Number Guessing Game Animation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages