Skip to content

Commit

Permalink
Create Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
souvikpramanikgit authored Oct 28, 2024
1 parent 5d18321 commit 7dfa119
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions Game_Development/Word Games with lives/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Word Games with Lives 🎮

## 🎯 Objective

This **Word Game** is a fun and challenging word guessing game created using Python. In this game, you try to guess a secret word one letter at a time or by guessing the whole word. You have a limited number of lives, represented by hearts, and each incorrect guess costs you a life. The goal is to guess the word before you run out of lives!

---

**Prerequisite**: Install `Python`


Before running the code, make sure you have Python installed on your system.


## 🚀 How to Play:

1. The game selects a random secret word from a predefined list.
2. You will be given a clue, with each letter of the word represented by a `?`.
3. You can either:
- **Guess one letter** at a time.
- **Guess the whole word**.
4. Each correct guess reveals the corresponding letter(s) in the secret word.
5. Each incorrect guess results in losing one of your lives (represented by ♥).
6. The game ends when you either:
- **Guess the word correctly** and win.
- **Run out of lives** and lose.
7. Enjoy the challenge!

---


## 📝 Features:

- **Lives System**: You start with 3 lives, and each incorrect guess removes one life.
- **Clue System**: Clue is displayed as `?` to show how many letters the word contains.
- **Simple Controls**: Just input your guesses either as a letter or the whole word.
- **Random Word Selection**: Each time you play, the game selects a random word to guess.


---

## 💻 Running the Game:

1. **Download or clone** the game code to your local machine.
2. **Run the game** using the command:
```bash
python main.py
```
3.Start guessing letters or the whole word and try to win before you lose all your lives!

0 comments on commit 7dfa119

Please sign in to comment.