Variable ADS::FOUR_MOVES

Variable Documentation

constexpr std::array<GridCell, 4> ADS::FOUR_MOVES = {GridCell(-1, 0), GridCell(0, -1), GridCell(1, 0), GridCell(0, 1)}

the moves to the four sides of a cell: up, left, down, right