DocsNodesValues

Grid Stamp

Claims a square block of cells around a point.

brush, claim area, spread, paint block, territory, capture
Category
Values
Outputs
value
Runs live in
no target yet

A brush rather than a pen. It paints a block of the given radius, and only over ground that is still unclaimed, so it spreads into empty space without overwriting what someone else already holds.

That makes it the way a roaming rival takes territory as it moves.

Inputs

SocketTypeWiring
gridvalue

Parameters

NameTypeDefaultAvailable whenWhat it does
Centernumber0always
Ownernumber1always
Radiusnumber1always
Overnumber0always
Widthnumber10always
Heightnumber10always

Built with this node

Nothing in the manual is built around this node yet.

See also

  • cellWriteFor a single cell rather than a block.
  • gridCountTo see how much of the board each side now holds.

Open the editor and try it