Example #1
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          info.Game.Info.BoardSize.Width >= 25 &&
          info.Game.Info.BoardSize.Height >= 25);
 }
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          info.IsVictory &&
          !info.IsHotseat
         );
 }
Example #3
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          !info.IsHotseat &&
          info.Game.Info.NumberOfHandicapStones >= 2
         );
 }
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          info.IsOnline &&
          info.Game.Info.BoardSize.Width == 19 &&
          info.Game.Info.BoardSize.Height == 19
         );
 }
Example #5
0
        public override bool GameCompleted(GameCompletedQuestInformation info)
        {
            if (info.Human == null)
            {
                return(false);
            }
            var opponent =
                info.Game.Controller.Players.GetOpponentOf(info.Human);

            return
                (info.IsPlayedByUs &&
                 info.IsVictory &&
                 opponent.Agent is AiAgent &&
                 opponent.Info.Name.Contains("Fuego")
                );
        }
Example #6
0
        public override bool GameCompleted(GameCompletedQuestInformation info)
        {
            if (info.Human == null)
            {
                return(false);
            }
            var opponent =
                info.Game.Controller.Players.GetOpponentOf(info.Human);

            return
                (info.IsPlayedByUs &&
                 info.IsVictory &&
                 opponent.Agent is AiAgent &&
                 opponent.Info.Name.Contains("Fuego") &&
                 info.Game.Info.NumberOfHandicapStones == 3 &&
                 info.Human.Info.Color == Core.Game.StoneColor.White
                );
        }
Example #7
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return(info.IsPlayedByUs &&
            info.IsOnline &&
            info.Game is KgsGame);
 }