Skip to content

realRCorp/Pendu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game (Jeu du pendu)

Author : @RubnK

This is a simple Hangman game implemented in Python using the Tkinter library. The game allows players to guess a word by clicking on letter buttons, with a visual representation of a hangman that updates based on incorrect guesses. The game includes a variety of French words, providing an entertaining and challenging experience.

Table of content

Features

  • Word Variety: The game includes 22,216 different French words for players to guess.
  • Hangman Visuals: The hangman visuals dynamically update as players make incorrect guesses.
  • Win/Loss Images: Enjoy custom "Mission Passed" and "Wasted" images for winning and losing scenarios.

How to Play

  1. Launch the game by running the Python script.
  2. Click on letter buttons to guess the word.
  3. Watch the hangman visuals update based on correct or incorrect guesses.
  4. Win the game by guessing the word or lose when the hangman is fully drawn.

Requirements

  • Python 3.x
  • Tkinter library

Setup

  1. Clone the repository:

    git clone https://github.com/RubnK/Pendu.git
  2. Navigate to the project directory:

    cd hangman-game
  3. Run the game :

    python hangman_game.py

Files

  • main.py: Python script for the Hangman game.
  • data/liste_mots.txt: Text file containing the list of French words for the game.
  • data/graphics/: Folder containing all the images used in the game.

Contributing

Feel free to contribute to the project by submitting issues or pull requests.

About

Jeu du pendu réalisé intégralement par RubnK en Python avec Tkinter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages