Metadata-Version: 2.4
Name: mini-arcade-core
Version: 1.5.2
Summary: Tiny scene-based game loop core for small arcade games.
License: Copyright (c) 2025 Santiago Rincón
           
           Permission is hereby granted, free of charge, to any person obtaining a copy
           of this software and associated documentation files (the "Software"), to deal
           in the Software without restriction, including without limitation the rights
           to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
           copies of the Software, and to permit persons to whom the Software is
           furnished to do so, subject to the following conditions:
           
           The above copyright notice and this permission notice shall be included in all
           copies or substantial portions of the Software.
           
           THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
           IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
           FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
           AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
           LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
           OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
           SOFTWARE.
License-File: LICENSE
Author: Santiago Rincon
Author-email: rincores@gmail.com
Requires-Python: >=3.9,<3.12
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Provides-Extra: dev
Requires-Dist: black (>=24.10,<25.0) ; extra == "dev"
Requires-Dist: isort (>=5.13,<6.0) ; extra == "dev"
Requires-Dist: mypy (>=1.5,<2.0) ; extra == "dev"
Requires-Dist: pillow (<12)
Requires-Dist: pylint (>=3.3,<4.0) ; extra == "dev"
Requires-Dist: pytest (>=8.3,<9.0) ; extra == "dev"
Requires-Dist: pytest-cov (>=6.0,<7.0) ; extra == "dev"
Description-Content-Type: text/markdown

# 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

```bash
pip install mini-arcade-core
```

## Docs

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

