(not so) small python curses space game
Project description
XOInvader
Attempt to create small but serious game using python and ncurses.
Requirements
General
Python3
Tornado 4.x
ncurses >=5.9
Optional requirements (for graphics)
Pygame >=1.9.0 (pygame.Mixer)
SDL with devel (for compiling pygame from sources)
gcc with devel (for compiling pygame from sources)
python devel files (for compiling pygame from sources)
Development
Installation
# install virtualenv
$ make devel
$ source .venv/bin/activate
$ pip install -e .
$ xoigame # ASCII with sound (Pygame.Mixer required)
$ xoigame -ns # ASCII without sound (pygame not required)
$ xoigame -vd pygame-sdl # Pygame-based version
Testing
$ 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
$ py.test --markers # show all markers
$ py.test xoinvader/path/to/test_file.py # run separate file
Documentation
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
xoinvader-0.1.2.tar.gz
(160.9 kB
view details)
Built Distribution
xoinvader-0.1.2-py2.py3-none-any.whl
(181.4 kB
view details)
File details
Details for the file xoinvader-0.1.2.tar.gz
.
File metadata
- Download URL: xoinvader-0.1.2.tar.gz
- Upload date:
- Size: 160.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.16 CPython/2.7.15 Linux/5.0.14-200.fc29.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf9d7c98e320247fd6f647e2a277593a142acf4c5a1465d3669531b815aa85c |
|
MD5 | 6154b002d4afdf726eb6d909482cdef3 |
|
BLAKE2b-256 | 1bc5e41f782be8768f9e994a6cd3deaec9032c455456943f02b86b6117c30dd9 |
File details
Details for the file xoinvader-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: xoinvader-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 181.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.16 CPython/2.7.15 Linux/5.0.14-200.fc29.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94558fdfa9d0fe38ae38069d0d69d7a1170fc86f864b1218c49a540bcaf51fd4 |
|
MD5 | 381c7a977bd95e2cba3be906a8e94427 |
|
BLAKE2b-256 | 3475013aedc737dbea1abbe8b0b45e2477a9a8bda8af0e6c14c0439ca2a31da3 |