public override List <Tuple <int, int> > GetCapturable() { var captures = DiagonalStrategies.GetCapturable() .Concat(RowStrategies.GetCapturable()) .Concat(ColumnStrategies.GetCapturable()).ToList(); return(captures); }
public override IEnumerable <Tuple <int, int> > GetMoveSet(int row, int col, PieceColor opposingPlayer) { var strats = DiagonalStrategies.GetMoveSet(row, col, opposingPlayer) .Concat(RowStrategies.GetMoveSet(row, col, opposingPlayer)) .Concat(ColumnStrategies.GetMoveSet(row, col, opposingPlayer)).ToList(); return(strats); }