Log inGet started
Package

modes.module

Newest version

README.md

ladrilho.modes

The four ways to play (Endless, Daily Board, Adventure, Duel), each a small definition the App runs: its card on the mode screen, the blockPuzzleKit session config for one round (session(ctx)), an optional time limit, and what a finished round saves, posts and shows (finish(ctx, result)). Modes.register(def) adds or replaces a mode, so the duel's sync or the adventure's level data change their mode without touching the App. The full shape is at the top of init.luau.