项目作者: yanbrasiliano

项目描述 :
Learning: The Hangman Game in Python.
高级语言: Python
项目地址: git://github.com/yanbrasiliano/hangman-game.git
创建时间: 2021-04-14T01:43:53Z
项目社区:https://github.com/yanbrasiliano/hangman-game

开源协议:MIT License

下载


The Hangman Game 🎲


A Python script that simulates the classic Hangman game. The rules of the game can be found online.

Overview

This project implements the Hangman game, where players guess letters to uncover a hidden word. The game ends either when the word is correctly guessed or the player fails to guess the word within 6 attempts.

How to Play

  1. The game will prompt you to guess letters one at a time.
  2. You have 6 attempts to guess the word correctly.
  3. Each incorrect guess results in a part of the hangman figure being drawn.
  4. The game ends when you either guess the word correctly or exhaust all 6 attempts.

Hangman Game

Requirements

  • Python 3.x

How to Run

  1. Clone the repository:

    1. git clone git@github.com:yourusername/hangman-game.git
  2. Navigate to the project directory:

    1. cd hangman-game
  3. Run the script:

    1. python hangman.py

Contributing

Contributions are welcome! Feel free to open issues and submit pull requests to improve this project.

License

This project is licensed under the MIT License.