Skip to content

Add Number Guessing Game in Python #20

Description

@REVANTSINGH01

Description:
Add a new mini-game called Number Guessing Game under the /python folder.
In this game, the computer randomly selects a number between 1 and 100, and the player must guess it. The game gives hints like “Too high!” or “Too low!” until the player guesses correctly.

Requirements:

Use Python’s random module.

The user should be able to quit anytime by typing quit.

Count and display the number of attempts.

Handle invalid inputs gracefully.

Tech Used:

Python 3
Core concepts: loops, conditionals, randomization, user input handling

Labels: good first issue, hacktoberfest, python, beginner-friendly, game

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions