The word game Hangman based on 'Invent Your Own Computer Games with Python'.
Project description
The goal of this project is to learn and implement the best practices, in writing and maintaining a Python project. For this purpose, we use a simple Hangman game program, from the book “Invent Your Own Computer Games with Python”.
Usage
The game can be installed using the following command
$ pip install gallows
Once installed the game can be played using the following command
$ gallows.py
Development
After cloning the repository, install the game in development mode using the following command
$ python3 setup.py develop
You can modify the program and then test it by using the following command
$ gallows.py
You can execute the unit tests, using the following command
$ python3 setup.py test
You can build the documentation, using the following commands
$ pip install -r doc-requirements.txt $ cd doc $ make html
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gallows-0.6.0.tar.gz
.
File metadata
- Download URL: gallows-0.6.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11aace66dce8fb6a08324e8739566c8cbea69f94c0e86e22e2f8494a0287f485 |
|
MD5 | b09e5b73c48b887cfe070fee14d6f539 |
|
BLAKE2b-256 | cc704430a9f2c50bede4ef7e37cf338cb8a913a7e797e59b7bba288bdbc13a42 |