Skip to main content

Hangman in terminal

Project description

Hangman-Terminal

PyPI version License: MIT

A classic game of Hangman that you can play right in your terminal! Features fun ASCII art animations and a built-in word list for a simple, engaging experience.

Gameplay Demo

Gameplay GIF

Features

  • Classic Hangman Gameplay: Guess letters to solve the hidden word before you run out of attempts.
  • ASCII Art Animations: Watch the hangman being drawn with each incorrect guess, all rendered in your terminal.
  • Built-in Word List: Comes with a predefined set of words, so you can start playing immediately.
  • Lightweight & Simple: No external dependencies needed. Just install and play!

Installation

You can install it easily using pip:

pip install hangman-terminal

Usage

There are two main ways to run the game:

1. From the Command Line:

After installation, you can start the game by simply typing this command in your terminal:

hangman-terminal

2. As a Python Module:

You can also import and run the game from within your own Python script.

import hangman_terminal as
# This will start the game
ht.main()

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hangman_terminal-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file hangman_terminal-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hangman_terminal-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8122d4e3f43c154ceafebee364f66beb2056d59ab23aa67cdcbfff51438614a5
MD5 1c36b4e0e15abf8ad6ded2a34899ec32
BLAKE2b-256 e1212c712d970e1e35dac9fce5f53e29f99775dfb8e4a2ddce9e694d700a93b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page