move ( board mov -- )


Vocabulary
multiple-board-demo

Inputs
boardan object
movan object


Outputs
None

Definition


:: move ( board mov -- )
board [ COLOR: blue = ] find-cell-pos
:> player-pos player-pos mov v+
:> new-pos new-pos first 0 >= new-pos first 10 < and
[ board player-pos new-pos move-entire-cell drop ] when ;