The pack
snowTower
function snowTower(): Pack<{ snowTower: typeof api }>
Install the snow-tower preset API (game.snowTower).
Helpers
SNOW_BROS_LEGEND
const SNOW_BROS_LEGEND: { readonly ".": {}; readonly W: { readonly solid: true; }; readonly "=": { readonly platform: true; }; }
Snow Bros' legend: 'W' walls and the bottom floor (solid); '=' ledges (jump through, drop through with down + jump); '.' air.
SNOW_BROS_SHOTS
const SNOW_BROS_SHOTS: Record<string, ShotSpec>
Snow Bros' enemy projectiles (estimates from play).
snowBrosFloors
function snowBrosFloors(): CaptureRound[]
The ten authored floors (one world): enemies and layouts in the arcade's style, a boss on floor 10.
snowBrosKinds
function snowBrosKinds(o: { bossHp?: number } = {}): Record<string, CaptureEnemyKind>
Snow Bros' enemies as capture-game kinds (16-unit tiles). Speeds and timings are estimates from play footage.
snowBrosPreset
function snowBrosPreset(o: SnowBrosOptions = {}): CaptureConfig
Snow Bros as a capture-game config.
Types
SnowBrosOptions
interface SnowBrosOptions
Options for snowBrosPreset.
difficulty?: CaptureDifficultyName— Difficulty. Default 'normal'.startRound?: number— First floor (1-10). Default 1.players?: number— Players. Default 1.lives?: number— Starting lives. Default 3.boss?: boolean— Include the boss floor. Default true.seed?: number— Seed. Default 1990.invulnerable?: boolean— Players never die.


