Territory Step
The whole trail-and-capture rule in one node.
splix, capture, enclose, trail, claim, territory, area game- Category
- Values
- Outputs
- value
- Runs live in
- no target yet
Moving across unclaimed ground leaves a trail. When the trail reconnects with territory you already hold, everything enclosed becomes yours.
That rule is fiddly to build out of individual writes and reads, so it lives in one node. Give it the board and where the player is, and it hands back the board after the move.
Inputs
| Socket | Type | Wiring |
|---|---|---|
| grid | value |
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| Player Cell | number | 0 | always | |
| Owner | number | 1 | always | |
| Trail | number | 2 | always | |
| Head | number | 3 | always | |
| Width | number | 10 | always | |
| Height | number | 10 | always |
Built with this node
Nothing in the manual is built around this node yet.