factoriax.playground.app#
Launcher: the title menu and what each of its entries opens.
The launcher holds the pygame window for the whole session. It gives the same surface to each sub-screen, so a return from play or from the editor comes back to the menu with no flicker.
A sub-screen returns control, and does not quit. run_app() closes
pygame, and no other function does.
The launcher is deliberately free-play only. Research scenarios are
built through factoriax.make() and driven by training code, not
through this UI.