Variable ADS::KNIGHT_MOVES

Variable Documentation

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

the moves of the knight