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

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


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.0b1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for wj_spaceinvaders-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e3d144f936fd6cf9e133e641d0d1c0a4c4053082af6e721a2505e0e5f3f3ea9
MD5 4f612c3befa797aa862766e0b93d96ab
BLAKE2b-256 2448c2e6bb1e42239ba6ab1d96153aa39439e7a4c5466d3befe929545e612dcc

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