Visits cells running down columns, left-to-right. When reverse option is provided, we go up columns, right-to-left instead.
reverse
The getNeigbours function only ever returns a single cell.
getNeigbours
Returns an object with two functions, all of which are pure functions. That is, the result of columnLogic has no internal state.
columnLogic
Options
Visitor generator
Visits cells running down columns, left-to-right. When
reverseoption is provided, we go up columns, right-to-left instead.The
getNeigboursfunction only ever returns a single cell.Returns an object with two functions, all of which are pure functions. That is, the result of
columnLogichas no internal state.