magmacrunch — the terminal arcade
Copyright 2026 magmacrunch media


THE LICENCE

This repository is licensed in two parts, and the seam between them is the
same one the code is built around.

The launcher — `magmacrunch/*.py` — together with the tests, the build files
and the documentation, is licensed under the PolyForm Noncommercial License
1.0.0, in the LICENSE file beside this one.

The TUI engine — everything under `magmacrunch/engine/` — is licensed under
the Apache License, Version 2.0, in LICENSE-APACHE. Every file in that
directory carries an SPDX header saying so, and `magmacrunch/engine/LICENSE`
repeats it where someone reading only that directory will find it.

Read either of them, learn from them, build on them, play with them. Any
noncommercial purpose is permitted under PolyForm, and that includes personal
projects, teaching and research. What PolyForm does not permit is commercial
use: selling it or a derivative of it, shipping it inside a product, or running
it as part of a business. The Apache-2.0 half carries no such restriction.

The launcher is Noncommercial because the games it seats are. This package
contains no game code -- it finds installed games by entry point and never
imports one -- but it depends on them, and a package cannot be more permissive
than what it depends on.

The engine is Apache-2.0 because it depends on none of them. It was extracted
from texastoast, which is Apache-2.0 and still ships its own copy of the same
code; relicensing the extraction would have made two copies of one thing
disagree. A permissive engine underneath a Noncommercial launcher is fine. The
reverse would not be, which is the whole reason the seam is where it is.


WHAT THIS DEPENDS ON

Textual, and through it Rich. Both MIT, copyright Will McGugan and
contributors, and both carry their own licences in the installed
distributions. They are needed only by the engine's terminal runtime
(`magmacrunch/engine/core/tui_game.py`).

The cabinets -- magmacrunch-george-boole, magmacrunch-thld and
magmacrunch-moonlight-drift -- are each PolyForm Noncommercial 1.0.0,
copyright 2026 magmacrunch media, and carry their own NOTICE files. They are
listed as dependencies so that installing the arcade installs an arcade with
something in it; nothing here imports them.

texastoast was this package's engine dependency until v0.3.0, which
internalised it. It is no longer required, installed, or imported.
