guessnum.py

Number Guessing

This project is maintained by milosnowcat

guessnum.py

Number Guessing

Installation of the GuessNum.py Project

This project is a simple number guessing game in Python. To get started with GuessNum.py, follow the installation steps below.

Prerequisites

Before installing the project, ensure you have Python installed on your system. You can download Python from python.org.

Installation Steps

You can download for windows without python here!

  1. Clone the GitHub repository to your local machine using the following command:

    git clone https://github.com/milosnowcat/guessnum.py.git
    
  2. Navigate to the project directory:

    cd guessnum.py
    

That’s it! You have successfully cloned the GuessNum.py project to your local machine.


Using the GuessNum.py Project

GuessNum.py is a simple number guessing game in Python. Follow these steps to play the game.

Playing the Game

  1. Open a terminal or command prompt and navigate to the directory where you cloned the GuessNum.py project.

  2. Run the game by executing the Python script:

    python main.py
    
  3. The game will generate a random number between 1 and 100.

  4. You will be prompted to guess the number. Enter your guess when prompted.

  5. If your guess is too low, you will receive a message indicating that you should try a higher number.

  6. If your guess is too high, you will receive a message indicating that you should try a lower number.

  7. Continue guessing until you correctly guess the number.

  8. Once you guess the correct number, you will receive a “Woo Hoo \^o^/, you guessed the number” message.

  9. The game will then end.

Exiting the Game

To exit the game, simply close the terminal or command prompt where the game is running.

Enjoy playing the GuessNum.py number guessing game!