Skip to content

AranavPaul/python-hangman-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Python Hangman Game

Python Version

A classic command-line Hangman game built with Python, using modular code and a word list from the NLTK library.

🕹️ Features

  • Classic Hangman gameplay.
  • Random word generation from a large English dictionary (via NLTK).
  • Modular design to separate concerns.
  • ASCII art for the hangman stages and logo.
  • Tracks remaining chances and guessed letters.

🚀 How to Run

  1. Clone the repository:

    git clone https://github.com/AranavPaul/python-hangman-game
    cd python-hangman-game
  2. Install the required libraries:

    pip install -r requirements.txt
  3. Run the game:

    python main.py

⚖️ License

This project is open-source. See the LICENSE file for more details.

About

A command-line Hangman game in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages