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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

    git clone https://github.com/B3TA-BLOCKER/Hangman.git
  2. Navigate to the project directory:

    cd Hangman
  3. Run the game:

    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.

About

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.


Languages

Language:Python 100.0%