Grid Init
Creates the board that a grid game keeps its state in.
board, tiles, grid, map, territory, state buffer, cells- Category
- Values
- Outputs
- value
- Runs live in
- no target yet
A grid of cells, each holding a number that says who owns it. Empty starts everything unclaimed; Checker and Quadrants start with a pattern already laid down, which is useful for two players starting from opposite corners.
This is the buffer everything else in the grid family reads from and writes to. Make it once, then pass it through the nodes that change it.
Inputs
| Socket | Type | Wiring |
|---|
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| Width | number | 10 | always | |
| Height | number | 10 | always | |
| Pattern | empty | checker | quadrants | center | empty | always |
Built with this node
Nothing in the manual is built around this node yet.