KALIIOWORK / basic_python_programs

Explore easy-to-understand Python programs for beginners! Contribute, learn, and grow your coding skills. Start your Python journey here! 🚀🐍
0 stars 8 forks source link

New Python Program: Word Guessing Game #7

Closed KALIIOWORK closed 10 months ago

KALIIOWORK commented 10 months ago

Hello Python enthusiasts! Let's add another interactive game to our repository - a Word Guessing Game implemented in Python. This game will randomly select a word, provide hints, and allow the user to guess the word letter by letter. This task is perfect for beginners and involves string manipulation, loops, and conditional statements in Python.

Tasks:

Guidelines:

Example:

Welcome to the Word Guessing Game!

Guess the word: ------

Enter your guess: E
Incorrect guess! Remaining attempts: 5
Word: ------ 

Enter your guess: A
Correct guess! Word: -A----

Enter your guess: T
Incorrect guess! Remaining attempts: 4
Word: -A----

Enter your guess: R
Correct guess! Word: -AR---

Enter your guess: K
Incorrect guess! Remaining attempts: 3
Word: -AR---

Enter your guess: D
Correct guess! Word: DAR---

Congratulations, you guessed the word 'DARE'!

How to Contribute:

  1. Fork this repository.
  2. Create a new Python file for the Word Guessing Game: word_guessing_game.py.
  3. Write the Python program following the specified tasks and guidelines.
  4. Test the game thoroughly to ensure it functions correctly.
  5. Commit your changes: git commit -m "Add Word Guessing Game program"
  6. Push to your branch: git push origin add-word-guessing-game
  7. Open a pull request to this repository.

Your contribution will provide users with an engaging word game. Thank you for creating this entertaining Python program for our repository!

Chetan-KH511 commented 10 months ago

assign me