Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

life/v0 package

Overview

Conway's Game of Life on Gno — the entire board lives on-chain. Anyone can call Step() to tick the simulation forward, load classic patterns, or sculpt cells one by one.

Function

SetCell

func SetCell(x, y int, live bool)

SetCell sets or clears a specific cell.

Params

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/life/v0.SetCell(,,)"

Result