Realm
life
gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/life
Render
Conway's Game of Life
A classic cellular automaton, ported to Gno — board state lives on-chain.
Generation: 0 | Population: 5 | Board: 20×15
+--------------------+
|.O..................|
|..O.................|
|OOO.................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
|....................|
+--------------------+
Transactions
| Call | Effect |
|---|---|
Step() | Advance one generation |
MultiStep(n) | Advance n generations (max 100) |
SetCell(x, y, alive) | Flip a single cell |
Reset(w, h) | Clear and resize (max 50×40) |
LoadPreset(name) | glider · blinker · toad · beacon · block · pulsar |
Rules
- A live cell with 2 or 3 live neighbours survives.
- A dead cell with exactly 3 live neighbours becomes alive.
- All other cells die or remain dead.
Source (qfile)
gnomod.toml life.gno