Skip to content

mstfgul/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game

Welcome to the Hangman Game! This is a simple implementation of the classic word-guessing game. The game randomly selects a word from a predefined list, and the player has to guess the word letter by letter.

📝 Description

The Hangman game allows a player to guess a word by suggesting letters within a certain number of guesses. The game provides visual feedback for each incorrect guess, displaying the state of a hangman figure. The player wins if they can guess the word before the hangman figure is fully drawn.

🚀 Installation

To install and run the Hangman game, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/mstfgul/hangman.git
    
  2. Navigate to the project directory:

    cd my_hangman
    

▶️ Usage

To start the Hangman game, run the following command in your terminal:

python main.py
---for macOS users---
    python3 main.py
'''

## 📂 Project Structure

The project is organized as follows:


hangman

└───draft
│   └──draft.py
└───utils
│   └──game.py
|   └──__init__.py
└───main.py


- `main.py`: The entry point of the game. It initializes and starts the Hangman game.
- `utils/game.py`: Contains the `Hangman` class that implements the game logic.
- `utils/__init__.py`: An optional file that can include initializations for the utils package.


## ''' 👨‍💻 Contributors

- Denis
- Nicolas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages