Exemplo n.º 1
0
        public override void AddEvaluations()
        {
            base.AddEvaluations();

            OutpostEval.AddOutpostBonus(Elephant);
            OutpostEval.AddOutpostBonus(Tower, 10, 2, 5, 5);
        }
Exemplo n.º 2
0
 public override void AddEvaluations()
 {
     base.AddEvaluations();
     if (Chancellor != null && Chancellor.Enabled)
     {
         RookTypeEval.AddRookOn7thBonus(Chancellor, King, 2, 8);
     }
     if (Lion != null && Lion.Enabled)
     {
         OutpostEval.AddOutpostBonus(Lion, 12, 4, 8, 6);
     }
 }
Exemplo n.º 3
0
 public override void AddEvaluations()
 {
     base.AddEvaluations();
     if (Elephant != null && Elephant.Enabled)
     {
         OutpostEval.AddOutpostBonus(Elephant);
     }
     if (General != null && General.Enabled)
     {
         OutpostEval.AddOutpostBonus(General, 10, 2, 5, 5);
     }
 }
Exemplo n.º 4
0
        public override void AddEvaluations()
        {
            base.AddEvaluations();

            if (DragonKing != null && DragonKing.Enabled)
            {
                RookTypeEval.AddRookOn7thBonus(DragonKing, King, 2, 8);
            }

            if (Squirrel != null && Squirrel.Enabled)
            {
                OutpostEval.AddOutpostBonus(Squirrel, 10, 2, 5, 5);
            }
        }
Exemplo n.º 5
0
        public override void AddEvaluations()
        {
            base.AddEvaluations();

            if (Chancellor != null && Chancellor.Enabled)
            {
                RookTypeEval.AddRookOn7thBonus(Chancellor, King, 2, 8);
            }

            if (Lion != null && Lion.Enabled)
            {
                OutpostEval.AddOutpostBonus(Lion, 10, 2, 5, 5);
            }

            KingSafetyEvaluation kse = new KingSafetyEvaluation(King, Pawn);

            kse.AddTropism(Queen);
            kse.AddTropism(Chancellor);
            kse.AddTropism(Unicorn);
            AddEvaluation(kse);
        }
Exemplo n.º 6
0
        public override void AddEvaluations()
        {
            base.AddEvaluations();

            if (RookTypeEval == null)
            {
                RookTypeEval = new RookTypeEvaluation();
                AddEvaluation(RookTypeEval);
            }
            if (ChargingRook != null)
            {
                RookTypeEval.AddRookOn7thBonus(ChargingRook, King);
            }
            if (ShortRook != null)
            {
                RookTypeEval.AddOpenFileBonus(ShortRook);
                RookTypeEval.AddRookOn7thBonus(ShortRook, King);
            }
            if (Colonel != null)
            {
                RookTypeEval.AddRookOn7thBonus(Colonel, King, 2, 8);
            }
            if (Chancellor != null)
            {
                RookTypeEval.AddRookOn7thBonus(Chancellor, King, 2, 8);
            }

            if (OutpostEval == null)
            {
                OutpostEval = new OutpostEvaluation();
                AddEvaluation(OutpostEval);
            }
            if (ChargingKnight != null)
            {
                OutpostEval.AddOutpostBonus(ChargingKnight);
            }
            if (NarrowKnight != null)
            {
                OutpostEval.AddOutpostBonus(NarrowKnight);
            }
            if (Phoenix != null)
            {
                OutpostEval.AddOutpostBonus(Phoenix);
            }
            if (WarElephant != null)
            {
                OutpostEval.AddOutpostBonus(WarElephant, 10, 2, 5, 5);
            }
            if (Cleric != null)
            {
                OutpostEval.AddOutpostBonus(Cleric, 10, 2, 5, 5);
            }
            if (Lion != null)
            {
                OutpostEval.AddOutpostBonus(Lion, 10, 2, 5, 5);
            }
            if (Bishop != null)
            {
                OutpostEval.AddOutpostBonus(Bishop, 10, 2, 5, 5);
            }
            if (Tower != null)
            {
                OutpostEval.AddOutpostBonus(Tower, 10, 2, 5, 5);
            }
        }