コード例 #1
0
ファイル: EpicPlayQuest.cs プロジェクト: omegaGoTeam/omegaGo
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          info.Game.Info.BoardSize.Width >= 25 &&
          info.Game.Info.BoardSize.Height >= 25);
 }
コード例 #2
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          info.IsVictory &&
          !info.IsHotseat
         );
 }
コード例 #3
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          !info.IsHotseat &&
          info.Game.Info.NumberOfHandicapStones >= 2
         );
 }
コード例 #4
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return
         (info.IsPlayedByUs &&
          info.IsOnline &&
          info.Game.Info.BoardSize.Width == 19 &&
          info.Game.Info.BoardSize.Height == 19
         );
 }
コード例 #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")
                );
        }
コード例 #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
                );
        }
コード例 #7
0
 public override bool GameCompleted(GameCompletedQuestInformation info)
 {
     return(info.IsPlayedByUs &&
            info.IsOnline &&
            info.Game is KgsGame);
 }