Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/b3ta-blocker/hangman

This Python code implements a simple Hangman game. It selects a random word from a list, allows the player to guess letters, and displays the current state of the word with underscores for unknown letters.
https://github.com/b3ta-blocker/hangman

boolean-variables-and-operators conditional-statements list-manipulation lists loops module-import random-number-generators string-formatting user-input

Last synced: 20 days ago
JSON representation

This Python code implements a simple Hangman game. It selects a random word from a list, allows the player to guess letters, and displays the current state of the word with underscores for unknown letters.

Awesome Lists containing this project

README

        

# **Hangman Game 🪓**

Hangman Game is a classic word guessing game implemented in Python. Guess the letters of a randomly chosen word and avoid running out of lives. Enjoy the challenge of uncovering the hidden word with interactive hangman stages.

## **Features 🌟**

- Randomly selects a word from a predefined list of challenging words.
- Visual feedback with interactive hangman stages for incorrect guesses.
- Clear console screen for an enhanced user experience.
- Simple and intuitive gameplay.

## **How to Play 🎲**

1. Clone the repository to your local machine:
```bash
git clone https://github.com/B3TA-BLOCKER/Hangman.git
```
3. Navigate to the project directory:
```bash
cd Hangman
```

5. Run the game:
```bash
python main.py
```

## **Dependencies 📦**

The game uses the following files:

- main.py: The main Python script for the Hangman game.
- art.py: Contains ASCII art for different hangman stages and the game logo.
- words.py: Provides a list of words for the game.