Handbook
Glossary
adjacent-mines ( cells row col -- #mines )
Vocabulary
minesweeper
Inputs
cells
an
object
row
an
object
col
an
object
Outputs
#mines
an
object
Definition
USING:
accessors
;
IN:
minesweeper
:
adjacent-mines
( cells row col -- #mines )
[
mined?>>
]
count-neighbors
;