> ## Documentation Index
> Fetch the complete documentation index at: https://cambridgebattlecode-mintlify-api-updates-1773706170.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Core

> Your central building — if it's destroyed, you lose.

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/entities/core.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=6e5fdb114897cb77e5970e1eca2ef1b7" alt="Core" style={{ width: 80, float: "right", marginLeft: 16 }} width="1024" height="1024" data-path="images/entities/core.png" />

The core is each team's central building. **If your core is destroyed, you lose the game.** Each team starts with one core.

## Properties

| Property       | Value           |
| -------------- | --------------- |
| HP             | 500             |
| Footprint      | 3×3             |
| Vision radius² | 36              |
| Action radius² | 8 (from centre) |

## Spawning

The core can **spawn one builder bot per round** on any of the 9 tiles it occupies. Spawning costs one action cooldown.

```python theme={null}
# Spawn a builder on an empty core tile
pos = c.get_position()  # centre of the 3x3 core
for dx in range(-1, 2):
    for dy in range(-1, 2):
        target = Position(pos.x + dx, pos.y + dy)
        if c.can_spawn(target):
            c.spawn_builder(target)
            break
```

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/core.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=e593ae076a353c4bbbb28d964669b1b2" alt="Core range — blue is vision, red is action radius" width="1262" height="1285" data-path="images/ranges/core.png" />

## Resource delivery

Resources must be transferred to the core via [conveyors](/spec/conveyors) to be added to your team's global resource pool, which is used for building.
