Grid Count
How many cells are held by a given owner.
score, area, percent, how many tiles, win condition, tally- Category
- Values
- Outputs
- value
- Runs live in
- no target yet
Either the raw count or the share of the whole board. That number is the score, and it is also the win condition: compare it against a threshold and you have a game that ends.
Feed it to a Label and the score is on screen with nothing in between.
Inputs
| Socket | Type | Wiring |
|---|---|---|
| grid | value |
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| Owner | number | 1 | always | |
| Mode | count | fraction | count | always |
Built with this node
Nothing in the manual is built around this node yet.