game-of-life vocabulary
Factor handbook ยป Vocabulary index


Summary
Conway's Game of Life

Metadata
Tags:demos
Authors:John Benediktsson


Words

Tuple classes
ClassSuperclassSlots
grid-gadget gadgetgrid size timer
life-gadget track


Symbol words
last-click


Ordinary words
WordStack effect
<grid-gadget>( grid -- gadget )
<life-gadget>( -- gadget )
com-clear( gadget -- )
com-glider( gadget -- )
com-play( gadget -- )
com-random( gadget -- )
com-step( gadget -- )
com-stop( gadget -- )
count-neighbors( grid -- counts )
draw-cells( gadget -- )
draw-lines( gadget -- )
grid-dim( grid -- rows cols )
life-window( -- )
make-grid( rows cols -- grid )
next-step( grid -- )
on-click( gadget -- )
on-drag( gadget -- )
on-scroll( gadget -- )
random-grid!( grid -- )
update-grid( gadget -- )


Class predicate words
WordStack effect
grid-gadget?( object -- ? )
life-gadget?( object -- ? )


Files


Metadata files