Skip to main content

Tiny scene-based game loop core for small arcade games.

Project description

mini-arcade-core

mini-arcade-core is the simulation-first core of Mini Arcade.

It is backend-agnostic and focuses on:

  • scenes (simulation containers)
  • entities + components (lightweight data)
  • systems (input, simulation, render prep)
  • draw calls (render instructions prepared by the scene)

Backends are responsible for:

  • window + event polling
  • drawing primitives/sprites
  • presenting frames

Design goals

  • tiny API surface, but scalable patterns
  • deterministic simulation (replays later)
  • testable logic (most game rules run headless)
  • backend swapping (native / pygame)

Frame mental model

A typical frame:

  1. gather input → produce intents
  2. tick simulation
  3. generate draw calls
  4. backend renders draw calls

Install

pip install mini-arcade-core

Docs

Architecture and concepts live in the monorepo docs (docs/).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mini_arcade_core-1.5.0.tar.gz (76.8 kB view details)

Uploaded Source

Built Distribution

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

mini_arcade_core-1.5.0-py3-none-any.whl (125.2 kB view details)

Uploaded Python 3

File details

Details for the file mini_arcade_core-1.5.0.tar.gz.

File metadata

  • Download URL: mini_arcade_core-1.5.0.tar.gz
  • Upload date:
  • Size: 76.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mini_arcade_core-1.5.0.tar.gz
Algorithm Hash digest
SHA256 703475cb06ba6179da5d2209349d511adf27cab8bf6be549d6cb018519ec0bc7
MD5 cadebd4cda8aba5374aa9658ac7d4a18
BLAKE2b-256 e4acd3cd4903af340c42315488b5afad36147c20578c48002b861b8396459aca

See more details on using hashes here.

File details

Details for the file mini_arcade_core-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mini_arcade_core-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2e2cacb9f95505e2915eb0dbbd6de4412534121f21d9066686ac774f2b7e882
MD5 3fd1e96ceeb228c0561c860730fe3bed
BLAKE2b-256 182c71b86e9aeab3185f6e019c2504dd90c94d118f80de72ca5dfa6ba4c0b837

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