Skip to main content

(not so) small python curses space game

Project description

Build Status


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



  • 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)



# 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


$ 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/  # run separate file


  • Autogenerated from sources here.

  • Development wiki.

  • Build documentation from sources:

    $ make docs
    $ make view_docs  # build and open in firefox

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xoinvader, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size xoinvader-0.1.3-py3-none-any.whl (179.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size xoinvader-0.1.3.tar.gz (159.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page