Drjaickal / Number-Guessing-Game_CC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number-Guessing-Game_CC

Number Guessing Game in Python

This Python program implements a classic Number Guessing Game! Test your luck and see if you can guess the secret number within the allowed attempts.

How to Play

  1. Run the script: python number_guessing_game.py
  2. Choose a difficulty level (easy, medium, hard) - affects the number range.
  3. The game will ask you to guess a number within the specified range.
  4. Enter your guess.
  5. The program will tell you if your guess is too high or too low.
  6. Keep guessing until you guess the correct number or run out of attempts (depending on difficulty).

Features

  • Difficulty levels for different skillsets.
  • User-friendly input validation ensures valid guesses.
  • Tracks the number of guesses taken.
  • Option to play another round after finishing a game.

Requirements

  • Python 3.x

Contributing

Feel free to fork the code and make improvements! You can add new difficulty levels, customize messages, or even implement a scoring system.

WhatsApp Image 2024-04-03 at 1 12 33 AM WhatsApp Image 2024-04-03 at 1 17 37 AM WhatsApp Image 2024-04-03 at 1 18 30 AM

About


Languages

Language:Python 100.0%