click-cells-around ( cells row col -- )


Vocabulary
minesweeper

Inputs
cellsan object
rowan object
colan object


Outputs
None

Definition


:: click-cells-around ( cells row col -- )
neighbors [
first2 [ row + ] [ col + ] bi*
:> ( row' col' ) cells row' col' cell-at
[ cells row' col' click-cell-at drop ] when
] each ;