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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mini_arcade_core-1.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7a2148b05ea82b34116f93a1796b4dd8445c3e008416faf069f3b842ada36396
MD5 993a560458c2f630d880667fee2602f8
BLAKE2b-256 e635f8979448af721eabb6b69ff2d8ab1536b6a984165b8a0df0257010ae5f19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_core-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa4b29c121ef37547602af20d11418efb0d9aaa7abcaffbac48832fb836e708a
MD5 aa5ef9389715bc98b036dc2902a7b90c
BLAKE2b-256 ea8f9d7aa82b8dd3803eab176beaf4f9678b7a874e22ee8491140beb682c9594

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