update-counts ( cells -- cells )


Vocabulary
minesweeper

Inputs
cellsan object


Outputs
cellsan object


Definition


:: update-counts ( cells -- cells )
cells [| row col cell |
cells row col adjacent-mines cell #adjacent<<
] each-cell cells ;