(adjacencies position)return list of positions representing the immediate adjacencies of position
return list of positions representing the immediate adjacencies of position
(create row col)create a valid position on the grid — see doc/grid.png
create a valid position on the grid — see doc/grid.png
the six cardinal directions of a single unit of discrete piece movement
the six cardinal directions of a single unit of discrete piece movement
(rotation direction rotation-direction)rotate direction vector either :cw clockwise or :ccw counter-clockwise
rotate direction vector either :cw clockwise or :ccw counter-clockwise
(rotation-clockwise direction)return result of applying a single unit of clockwise rotation to direction vector
return result of applying a single unit of clockwise rotation to direction vector
(rotation-counter-clockwise direction)return result of applying a single unit of counter-clockwise rotation to direction vector
return result of applying a single unit of counter-clockwise rotation to direction vector
(translation position direction)return result of applying direction vector to position
return result of applying direction vector to position
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |