pkulev / xoinvader

Python space game in terminal
http://mmap.me
MIT License
12 stars 1 forks source link
eaf ncurses python xo1

|PyPI| |Build Status| |codecov.io|

========= XOInvader

Attempt to create small but serious game using python and ncurses.

Requirements

General

Installation

From PyPI

.. code-block:: console

$ pip install --user xoinvader

Development

.. code-block:: console

$ poetry install $ poetry run xoigame

Testing

.. code-block:: console

$ make test # for all tests $ make view_cov # run all tests and view coverage $ # pass additional arguments to pytest via PYTEST_ARGS env variable $ # you can pass args such way to test and view_cov make targets $ make test PYTEST_ARGS='-m "not slow"' # don't run slow tests $ pytest --markers # show all markers $ pytest xoinvader/path/to/test_file.py # run separate file

Documentation

.. |PyPI| image:: https://badge.fury.io/py/xoinvader.svg :target: https://badge.fury.io/py/xoinvader .. |Build Status| image:: https://travis-ci.org/pkulev/xoinvader.svg?branch=master :target: https://travis-ci.org/pkulev/xoinvader .. |codecov.io| image:: http://codecov.io/github/pkulev/xoinvader/coverage.svg?branch=master :target: http://codecov.io/github/pkulev/xoinvader?branch=master