resolve_level
Resolves a level number into its exact enemy tank parameters—total, concurrent, and spawn rate—using the authoritative ramp formula, avoiding off-by-one errors from manual computation.
Instructions
Resolve what a level number actually means: how many enemy tanks the round fields in total, how many may be alive at once, and how often they arrive.
Levels are GENERATED from a ramp formula, not stored anywhere, so this cannot be answered by reading a file — call this tool instead of computing it yourself, because the formula truncates with integer division and a floating-point version disagrees at several levels.
The result also names the level's maze; call get_maze for its actual layout.
Args: level: The level number. Out-of-range values are clamped to the supported range rather than rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |