Skip to main content

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

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

MIT License — Copyright (c) 2026 WaterJuice

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

wj_spaceinvaders-1.0.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file wj_spaceinvaders-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wj_spaceinvaders-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d2b1386d9e0622bfb704c0c110a8ae1d7ee68585f8919b40acade084a64625
MD5 9ce6889619b5b3cad455197fbb88ab9e
BLAKE2b-256 5bb456d7e1a927e52f81cb0af3a9e617463f46370ddf968d070cebba97621e71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page