Classic Space Invaders game for the terminal using ANSI colour and Unicode half-block graphics
Project description
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
uv sync
Usage
# Run via entry point
uv run wj-spaceinvaders
# Or via module
uv run python -m wj_spaceinvaders
# Show version
uv run 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
Licence
MIT License — Copyright (c) 2026 WaterJuice
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wj_spaceinvaders-1.0.0b1-py3-none-any.whl.
File metadata
- Download URL: wj_spaceinvaders-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e3d144f936fd6cf9e133e641d0d1c0a4c4053082af6e721a2505e0e5f3f3ea9
|
|
| MD5 |
4f612c3befa797aa862766e0b93d96ab
|
|
| BLAKE2b-256 |
2448c2e6bb1e42239ba6ab1d96153aa39439e7a4c5466d3befe929545e612dcc
|