wj-spaceinvaders
Classic Space Invaders game for the terminal, rendered using ANSI 24-bit colour and Unicode half-block characters for full-colour pixel graphics.
Python 3.14+ | stdlib only | No dependencies
Installation
pip install wj-spaceinvaders
Usage
# Run the game
wj-spaceinvaders
# Or via module
python -m wj_spaceinvaders
# Show version
wj-spaceinvaders --version
Controls
| Key | Action |
|---|---|
| Left / Right | Move ship |
| Space | Fire |
| P | Pause |
| Q / Escape | Quit |
Scoring
| Alien | Points |
|---|---|
| Squid | 30 |
| Crab | 20 |
| Octopus | 10 |
| Mystery | ????? |
Requirements
- Python 3.14+
- A terminal supporting ANSI 24-bit colour and Unicode
- Minimum terminal size: 80×30
Development
make dev # Set up development environment
make check # Format check + lint
make format # Auto-format code
make lint # Run pyright type checker
make build # Build wheel
make publish # Publish to PyPI
Licence
Unlicense — public domain. See LICENSE.
Metadata
Release files for wj-spaceinvaders 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wj_spaceinvaders-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for wj_spaceinvaders-1.0.1-py3-none-any.whl |
Release files / wj_spaceinvaders-1.0.1-py3-none-any.whl
| Download URL | wj_spaceinvaders-1.0.1-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78aa470f274b626477a6f8830ea82cf08e7c988038a3ede0b69b4fdd8211feae
|
|
BLAKE2b-256 checksum How to use checksums |
30745b647aa0be3ccb9281e4a90e9802632735ef9822279c18a6e2b197ce56aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for wj-spaceinvaders 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.