internal/

directory
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2026 License: MIT

Directories

Path Synopsis
Package clip is the system clipboard, read for one keystroke.
Package clip is the system clipboard, read for one keystroke.
core
atb
Package atb decides who acts next.
Package atb decides who acts next.
battle
Package battle is where the rest of the engine is assembled, and the only package that holds state.
Package battle is where the rest of the engine is assembled, and the only package that holds state.
cast
Package cast is where a character is authored: who it is, which work it was borrowed from, the preset it was tuned from, and the evolution line its stats grow along.
Package cast is where a character is authored: who it is, which work it was borrowed from, the preset it was tuned from, and the evolution line its stats grow along.
combat
Package combat holds the damage formula and the balance constants it reads.
Package combat holds the damage formula and the balance constants it reads.
composition
Package composition prices what a squad shares.
Package composition prices what a squad shares.
element
Package element implements the elemental affinity chart.
Package element implements the elemental affinity chart.
hex
Package hex implements the battlefield geometry for the arena.
Package hex implements the battlefield geometry for the arena.
modifier
Package modifier holds the buff and debuff layer: the temporary terms that sit between a unit's resolved stat line and the numbers a hit is calculated from.
Package modifier holds the buff and debuff layer: the temporary terms that sit between a unit's resolved stat line and the numbers a hit is calculated from.
passive
Package passive declares what a character *has* rather than what it uses.
Package passive declares what a character *has* rather than what it uses.
pattern
Package pattern holds the shapes an area skill covers.
Package pattern holds the shapes an area skill covers.
placement
Package placement is what a character becomes when somebody fields it.
Package placement is what a character becomes when somebody fields it.
progression
Package progression holds everything about a unit that is resolved before a battle starts: how its stats grow with level, and which evolution stage it has reached.
Package progression holds everything about a unit that is resolved before a battle starts: how its stats grow with level, and which evolution stage it has reached.
rng
Package rng is the only source of randomness the engine uses.
Package rng is the only source of randomness the engine uses.
scale
Package scale holds the proportional arithmetic the whole engine shares.
Package scale holds the proportional arithmetic the whole engine shares.
skill
Package skill is where the rest of the engine meets: a skill names an element, a shape, a power, a scaling stat, the statuses it inflicts and the condition that makes it hit harder.
Package skill is where the rest of the engine meets: a skill names an element, a shape, a power, a scaling stat, the statuses it inflicts and the condition that makes it hit harder.
status
Package status holds the timed effects that sit on a unit: damage over time, stat debuffs, control, buffs and shields.
Package status holds the timed effects that sit on a unit: damage over time, stat debuffs, control, buffs and shields.
Package discovery is mDNS room browsing: a host announces its open room on the local network, and a client lists what it hears without anybody reading a code out loud.
Package discovery is mDNS room browsing: a host announces its open room on the local network, and a client lists what it hears without anybody reading a code out loud.
Package draft is the ban-and-pick that runs before a PvP match: who a draft may seat, and the arithmetic that says whether a format can be drafted at all.
Package draft is the ban-and-pick that runs before a PvP match: who a draft may seat, and the arithmetic that says whether a format can be drafted at all.
Package forge, art: turning the picture a character names into pixels.
Package forge, art: turning the picture a character names into pixels.
Package i18n is the wording of the full-screen authoring client, in Vietnamese and in English.
Package i18n is the wording of the full-screen authoring client, in Vietnamese and in English.
Package room is a PvP match as a **state machine over messages**, with no I/O of its own: messages and prompts in, messages and decisions out.
Package room is a PvP match as a **state machine over messages**, with no I/O of its own: messages and prompts in, messages and decisions out.
Package screen is what every full-screen view in this repository's terminal clients needs, and none of what any one of them decides.
Package screen is what every full-screen view in this repository's terminal clients needs, and none of what any one of them decides.
Package seed owns the embedded data files the game boots from.
Package seed owns the embedded data files the game boots from.
Package socket is the PvP transport: a WebSocket server around internal/room's registry, a dialling client, and the **mirror** that client needs in order to be a client at all.
Package socket is the PvP transport: a WebSocket server around internal/room's registry, a dialling client, and the **mirror** that client needs in order to be a client at all.
Package testfixture injects a known origin catalogue and cast into a scratch data directory.
Package testfixture injects a known origin catalogue and cast into a scratch data directory.
Package tui renders a battle for a terminal.
Package tui renders a battle for a terminal.
Package wire is the PvP protocol: the ten messages two peers exchange, the three version numbers they check before they start, and the codes a refusal is reported in.
Package wire is the PvP protocol: the ten messages two peers exchange, the three version numbers they check before they start, and the codes a refusal is reported in.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL