GitHunt

Gallows

.. image:: https://travis-ci.org/Chennaipy/hangman.svg?branch=master
:target: https://travis-ci.org/Chennaipy/hangman

.. image:: https://img.shields.io/coveralls/Chennaipy/hangman.svg?style=flat
:target: https://coveralls.io/r/Chennaipy/hangman

.. image:: https://pypip.in/version/gallows/badge.svg?style=flat
:target: https://pypi.python.org/pypi/gallows/
:alt: Latest Version

.. image:: https://readthedocs.org/projects/gallows/badge/?version=latest
:target: https://readthedocs.org/projects/gallows/?badge=latest
:alt: Documentation Status

.. image:: https://pypip.in/py_versions/gallows/badge.svg?style=flat
:target: https://pypi.python.org/pypi/gallows/
:alt: Supported Python versions

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" <http://inventwithpython.com/chapters/>_.

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

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

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

Languages

Python100.0%

Contributors

BSD 2-Clause "Simplified" License
Created October 12, 2022
Updated October 20, 2022