https://github.com/ecopque/secret_word_game
Little game to discover the secret word.
https://github.com/ecopque/secret_word_game
game-development python3
Last synced: over 1 year ago
JSON representation
Little game to discover the secret word.
- Host: GitHub
- URL: https://github.com/ecopque/secret_word_game
- Owner: ecopque
- Created: 2023-01-15T13:40:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-29T21:26:58.000Z (over 1 year ago)
- Last Synced: 2025-01-26T19:44:09.411Z (over 1 year ago)
- Topics: game-development, python3
- Language: Python
- Homepage: https://linktr.ee/edsoncopque
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Secret Word Game
This is a simple word guessing game in Python. The player needs to guess a secret word letter by letter. If the entered letter is present in the secret word, it is revealed; otherwise, an asterisk is displayed in its place. The player wins when all the letters of the secret word are revealed.
## Functioning:
- The code prompts the player to enter a letter.
- If more than one letter is entered, the code requests a single letter again.
- Correct letters are accumulated and displayed in the formed word.
- The game continues until the player correctly guesses all the letters of the secret word.
- Upon winning, the number of attempts is displayed along with the secret word.