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

Unlicense — public domain. See LICENSE.

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.1-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for wj_spaceinvaders-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78aa470f274b626477a6f8830ea82cf08e7c988038a3ede0b69b4fdd8211feae
MD5 a58238c5533e4e86946e0e05d009f861
BLAKE2b-256 30745b647aa0be3ccb9281e4a90e9802632735ef9822279c18a6e2b197ce56aa

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