Skip to content

Python API

This page provides auto-generated documentation for all Python modules in Ajitroids.

Overview

The Ajitroids codebase is organized into modules that handle different aspects of the game. All modules are located in the modul/ directory.

Core Modules

Game Entities

  • player: Player ship mechanics
  • asteroid: Asteroid behavior
  • boss: Boss enemy AI
  • shot: Projectile physics
  • powerup: Power-up system

Support Systems

  • sounds: Audio management
  • menu: UI and menu system
  • highscore: Score persistence
  • achievements: Achievement tracking
  • settings: Configuration management

Base Classes

  • circleshape: Base collision class
  • groups: Sprite groups

Visual Effects

  • particle: Particle effects
  • starfield: Background stars
  • asteroidfield: Asteroid spawning

Utilities

  • constants: Game constants
  • tutorial: Tutorial mode
  • ships: Ship definitions

Auto-Generated Documentation

modul

modul package initializer.

Keep this file minimal; avoid re-exporting symbols that are not used through the package namespace to prevent unused-import warnings.