Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.06 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.06 KB

Hangman

This repository contains multiple implementations of the classic Hangman game:

  • HangmanGUI.py: A graphical user interface version using Python and Tkinter.
  • hangman.py: A command-line version using Python 3.
  • hangman_1.py: A command-line version using Python 2.
  • index.html: A web-based version using HTML, CSS, and JavaScript, hosted on GitHub Pages.

How to Play

GUI Version

  1. Ensure you have Python and Tkinter installed.
  2. Run the game:
    python HangmanGUI.py
    

Command-Line Version (Python 3)

  1. Ensure you have Python 3 installed.
  2. Run the game:
    python hangman.py
    

Command-Line Version (Python 2)

  1. Ensure you have Python 2 installed.
  2. Run the game:
    python hangman_1.py
    

Web Version

Visit the GitHub Pages to play the web version of the game.

Contributions

Feel free to fork this repository and make your own changes. Pull requests are welcome!

License

This project is licensed under the MIT License.