the iOS and Android shell for magmacrunch arcade games
The shared parts that turn a magmacrunch web game into an App Store app, and into an Android one: the app itself, Game Center leaderboards and achievements, and the tools for testing and for the store listing. None of any game's rules are in here; each game keeps its own.
Everything an App Store build of a magmacrunch game needs that has nothing to do with the game: the Capacitor and Xcode project, a native Game Center plugin, the Android back button and launcher art, the pipeline that turns a web page into an app bundle, and the tooling for the store and for testers. magma-kit does the same job for the desktop apps.
It runs no game logic. A game’s rules live in that game’s repo, once per platform. Every piece here started inside george boole’s port and moved out once a second game needed the same thing, so anything only one app needs stays in that app.
Every App Store build that goes through here. None has been submitted yet. makemecookies!x4 and moonlight drift have Android builds too, not yet on Google Play.
native/ into a game, and the Android files only into a game with an Android project; --check compares hashes across every game that uses it
--check says whether they are current
The changes every web game needs before it can ship as an app, done the same way for all of them: making it run with no internet connection, opening outside links in the browser, and fitting the screen around the notch.
viewport-fit=cover so the viewport reaches the notch
Every game gets an exact copy of the app code kept here. A check compares the copies, so if one is edited by mistake the build fails, instead of the games quietly drifting apart.
The Swift in native/ is byte-identical in every game, so a hash
comparison is a complete drift check. It runs from both ends: each game’s CI checks its
own copy, and this repo’s CI checks every game listed in consumers.json.
Edit it here, never in a game, then copy it out. Node 22 or newer, and nothing else:
node tools/sync.mjs ../../games/<game>
node tools/sync.mjs --check
node tools/check-metadata.mjs ../../games/<game>/mobile
node tools/check-game-center.mjs ../../games/<game>/mobile
node tools/check-android.mjs
After Hypnopompia by Texas Hold’Em Lava Dome, from Pompous Fanfare for All Occasions (2019). Adenosine is the molecule that builds sleep pressure; hypnopompia is surfacing out of it.
PolyForm Noncommercial 1.0.0 · Copyright 2026 magmacrunch media
hypnopompia is developed in-house and is not publicly distributed. It ships inside the app builds it exists for, rather than on its own.
For source access, licensing, or anything else, email info@magmacrunch.com.