Skip to content

A modern Hangman game built using Python and CustomTkinter. Features include GUI, ASCII art, external word list, score tracking, and multi-round support.

License

Notifications You must be signed in to change notification settings

Bikash07-git/Hangman_game

Repository files navigation

🕹️ Hangman Game - Python GUI Edition

A modern GUI-based Hangman game built using Python and CustomTkinter.
Features ASCII Art, Score Tracking, External Word Support, and Multi-Round Gameplay!


📌 Overview

This project is a complete desktop version of the classic Hangman Game, developed with Python and a modern GUI powered by CustomTkinter.
It includes a sleek user interface, support for external word files, visual hangman drawing with ASCII art, and a built-in scoring system over multiple rounds.

This project serves as both a fun game and a strong portfolio project to demonstrate your skills in GUI development, file handling, and game logic using Python.


🎮 Gameplay Instructions

  • At launch, enter the number of rounds you want to play.
  • You’ll be shown blank spaces for a randomly chosen word from words.txt.
  • Guess one letter at a time using the input box.
  • You have 6 chances to guess the word correctly before the hangman is complete.
  • Each correct guess fills in a letter.
  • Incorrect guesses will build the ASCII hangman figure.
  • After all rounds, your final score is displayed.

🛠️ Tech Stack Used

Feature Technology
Language Python
GUI Framework CustomTkinter
HTTP/Word Fetch requests (optional)
Packaging PyInstaller

🚀 Features

  • Modern GUI using customtkinter (dark mode)
  • ASCII Art Hangman Drawing
  • Multi-Round Mode with scoring system
  • External Word File Support (words.txt)
  • Input Validation and error handling
  • Executable Packaging with .exe support

🛠️ Installation Guide

Follow the steps below to set up the game on your computer:


1. 📂 Clone the Repository

git clone https://github.com/Bikash07-git/Hangman_game.git
cd Hangman_game

2. 📂 Install Dependencies
Install all required Python libraries from the requirements.txt file:
Copy code
pip install -r requirements.txt

pip install customtkinter requests

3. ▶️ Run the Game
python hangman_gui.py

About

A modern Hangman game built using Python and CustomTkinter. Features include GUI, ASCII art, external word list, score tracking, and multi-round support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages