Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhrankan-Chakrabarti authored Jun 24, 2024
1 parent a89983f commit 52e048b
Showing 1 changed file with 41 additions and 4 deletions.
45 changes: 41 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# hangman
Hangman
A word puzzle game made using Python and Tkinter.
# Hangman

Hangman is a simple word guessing game. Players try to figure out an unknown word by guessing letters. If too many letters which do not appear in the word are guessed, the player is hanged (and loses).
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](https://abhrankan-chakrabarti.github.io/hangman/) 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.

0 comments on commit 52e048b

Please sign in to comment.