ludic/examples/chronorift.ludic
Orkuncakilkaya 985f9ad8f2 Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete
Self-hosted compiler (selfhost/*.ludic), runtime, examples, editor tooling,
and docs. Phase 1 of the syntax-redesign cohesion pass has landed:
edge-system fix, signature-query, when-alias, and the documentation truth-pass.
Suite green (14/14), C-free bootstrap fixpoint holds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-27 15:15:35 +03:00

16 lines
995 B
Text

# ============================================================================
# chronorift.ludic — a 2D windowed co-op JRPG written in Ludic (CC0 Kenney art)
# Overworld + dungeon + random encounters + co-op turn battle + boss + save.
# Compiles to a native macOS app: ludicc -> LLVM IR -> native binary. No C.
#
# This entry file is deliberately thin: the game is split across modules under
# chronorift/, pulled in with `import`. Paths resolve relative to this file, and
# each import is include-guarded so re-imports are free.
# ============================================================================
game ChronoRift {
import "chronorift/world.ludic" # components, entity archetypes, constants
import "chronorift/rules.ludic" # pure rules + map data (functions)
import "chronorift/overworld.ludic" # boot, movement, encounters, shop
import "chronorift/combat.ludic" # co-op turn battle state machine
import "chronorift/draw.ludic" # the Render system
}