Handbook
Glossary
swap-cells ( board loc1 loc2 -- board )
Vocabulary
gamelib
.
board
Inputs
board
an
object
loc1
an
object
loc2
an
object
Outputs
board
an
object
Definition
IN:
gamelib.board
::
swap-cells
( board loc1 loc2 -- board )
board loc1
get-cell
:>
cell1 board loc2
get-cell
:>
cell2 board loc2 cell1
set-cell
loc1 cell2
set-cell
;