Variable ADS::EIGHT_MOVES

Variable Documentation

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

the moves to the sides and to the corners of a cell, those of the king