DocsNodesValues

Cell Write

Sets one cell of the board and hands the board back.

paint tile, set cell, claim, mark, write, place
Category
Values
Outputs
value
Runs live in
no target yet

The smallest change you can make to a board: one cell, one value. It returns the updated board rather than changing it in place, so writes chain one after another.

This is how a trail gets laid down, one cell per frame, as something moves across it.

Inputs

SocketTypeWiring
gridvalue

Parameters

NameTypeDefaultAvailable whenWhat it does
Indexnumber0always
Valuenumber1always

Built with this node

Nothing in the manual is built around this node yet.

See also

  • gridStampTo claim a block of cells at once rather than one.
  • territoryStepFor the whole trail-and-capture rule rather than a single write.

Open the editor and try it