Skip to content

kartikeyasaran/guess-the-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Guess the Word Game

Welcome to the Python Guess the Word Game! This simple console-based game generates a random word and challenges the player to guess it. Have fun testing your word-guessing skills!

Getting Started

  1. Make sure you have Python installed on your system. You can download it from python.org.

  2. Clone this repository to your local machine:

    git clone https://github.com/CodeYard01/guess-the-word.git
    

3.Navigate to the project directory:

cd guess-the-word

Run the game:

python guess_the_word.py

How to Play:

The game will present you with underscores representing each letter of the randomly chosen word.

You have to guess a letter by entering it through the keyboard.

If your guessed letter is correct, it will be revealed in the word. If it's incorrect, a part of the hangman will be drawn.

You win if you successfully guess the word before the hangman is fully drawn. Otherwise, you lose.

Enjoy the game and challenge yourself to guess words!

Contributing

If you'd like to contribute to this project, feel free to fork the repository and submit a pull request. Bug reports, suggestions, and feedback are also welcome. License

This project is licensed under the MIT License - see the LICENSE file for details.