Skip to content

prashere/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game with Python and Pygame

A simple Hangman game created using Python's Pygame library, following the Object-Oriented Programming (OOP) paradigm.

Description

This project consists of four specific modules:

  • buttons.py: Contains the Buttons class and associated methods.
  • hangman.py: The main module that drives the Hangman game.
  • man.py: Contains the Man class for rendering the Hangman figure.
  • settings.py: Includes the Settings class for game configuration.

The game also incorporates media files:

  • /images: Directory for image assets.
  • /sounds: Directory for sound assets.

Features

  • Provides a hint for every word the user needs to guess.
  • Allows the user to select letters by clicking buttons with alphabets.
  • Offers an engaging Hangman gaming experience.

How to Play

  1. Run hangman.py to start the game.
  2. Use the on-screen buttons to select letters and guess the hidden word.
  3. Try to guess the word before the Hangman figure is completely drawn!

Dependencies

Make sure you have the following dependencies installed:

  • Python (>=3.6)
  • Pygame (install via pip install pygame)

Author

Prashidika Tiwari

Acknowledgments

Special thanks to the Pygame community and contributors for their awesome library.

Happy gaming!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages