cpu_get_map
Retrieve live game world state: summary, your cell resources, and neighbor data. Apply scopes to focus on mine, around a token, specific cells, or all. Indicates server reachability.
Instructions
Read the live game world (public, background-synced). The world is a finite sphere of 48,990 cells keyed by tokenId — no coordinates: navigate via each cell’s neighbors (6 adjacent, 5 next to a pentagon vertex; owned/other/empty, empty = unminted) and cpu_next_hops; pos {face,i,j} is only a rough hint (wraps at face seams). Returns a summary, a resourceIndex of your cells, and per-resource storage (used/cap/full; a box with room for less than one whole cycle halts that resource’s production, cap null = uncapped). Scopes: mine | around (grid radius from aroundTokenId) | cells | all | summary. version/updated are epoch ms, serverTime/startAt unix seconds. server.reachable false means actions will fail; your to-do list is cpu_get_attention.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | mine | around | cells | all | summary. Omit to default to "mine" (or "summary" if no wallet). | |
| radius | No | Grid radius (BFS steps) for scope="around" (default 2, max 10). | |
| tokenIds | No | Required for scope="cells": the cell tokenIds to return. | |
| aroundTokenId | No | Center cell tokenId for scope="around". |