https://github.com/pkulev/xoinvader
Python space game in terminal
https://github.com/pkulev/xoinvader
eaf ncurses python xo1
Last synced: 6 months ago
JSON representation
Python space game in terminal
- Host: GitHub
- URL: https://github.com/pkulev/xoinvader
- Owner: pkulev
- License: mit
- Created: 2014-07-09T19:14:10.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-12-21T10:15:01.000Z (over 1 year ago)
- Last Synced: 2025-11-29T00:43:57.600Z (7 months ago)
- Topics: eaf, ncurses, python, xo1
- Language: Python
- Homepage: http://mmap.me
- Size: 843 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
|PyPI| |Build Status| |codecov.io|
=========
XOInvader
=========
Attempt to create small but serious game using **python** and
**ncurses**.
Requirements
============
General
-------
* python >=3.10; <3.13
* >= eaf-0.2
* >= xo1-0.1
* >= toml-0.10
* ncurses >=5.9
Installation
============
From PyPI
---------
.. code-block:: console
$ pip install --user xoinvader
Development
-----------
.. code-block:: console
$ uv sync --extra dev
$ uv 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
-------------
* Autogenerated from sources `here `__.
* Development `wiki `_.
* Build documentation from sources:
.. code-block:: console
$ make docs
$ make view_docs # build and open in firefox
.. |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