Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.62 KB

README.rst

File metadata and controls

60 lines (39 loc) · 1.62 KB

Gallows

https://travis-ci.org/Chennaipy/hangman.svg?branch=master https://img.shields.io/coveralls/Chennaipy/hangman.svg?style=flat Latest Version https://readthedocs.org/projects/gallows/badge/?version=latest 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".

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