Skip to content

A collection of Hangman game implementations: GUI with Python and Tkinter, command-line versions for Python 2 and 3, and a web-based version using HTML, CSS, and JavaScript.

License

Notifications You must be signed in to change notification settings

Abhrankan-Chakrabarti/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A collection of Hangman game implementations: GUI with Python and Tkinter, command-line versions for Python 2 and 3, and a web-based version using HTML, CSS, and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published