Handbook
Glossary
location-valid? ( board block -- ? )
Vocabulary
tetris
.
board
Inputs
board
an
object
block
an
object
Outputs
?
an
object
Definition
USING:
combinators.short-circuit
;
IN:
tetris.board
:
location-valid?
( board block -- ? )
{
[
block-in-bounds?
]
[
block-free?
]
}
2&&
;