Skip to content

ramyasreeveerla117-coder/word-guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

📌 Word Guessing Game (Python)

A simple Python-based word guessing game where the player must guess the secret word “giraffe” within 4 attempts, with helpful hints after each wrong guess.

🎮 Features

=>User gets 4 attempts to guess the word =>3 hints shown after each wrong attempt =>Input is cleaned using .strip().lower() =>Win/Lose message will be displayed based on attempt =>if user reached the guessing limit "game over" text displays =>Option to restart the game =>user can choose to restart the game

Beginner-friendly and easy to understand 🛠 Technologies Used: Python 3

▶️ How to Run:

Install Python 3 Download this repository Open terminal inside the folder (or) enter the code in visual studio

Run: python final.py (or) run in visual studio 📝 Example Output enter your guess: cat try again hint1: it is an animal

enter your guess: cow try again hint2: it has long neck

enter your guess: horse try again hint3: it eats green leaves and its name starts with g and ends with e

enter your guess: lion limit over better luck next time

🔁 Restart Option

If the player types "restart" after losing, the game starts again automatically.

✔️ Project Status

Completed ✔️ Uploaded to GitHub ✔️

🎉 Thank you for checking out my project!

About

A simple python word guessing game with hints and restart feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages