示例#1
0
文件: AI.cs 项目: AV2606/Tic-tac-toe
 private bool AmIWon(GameLogic ex)
 {
     if (me == CellE.o)
     {
         return(ex.IsOWon());
     }
     return(ex.IsXWon());
 }
示例#2
0
文件: AI.cs 项目: AV2606/Tic-tac-toe
 private bool DoHimWon(GameLogic ex)
 {
     if (me == CellE.x)
     {
         return(ex.IsOWon());
     }
     return(ex.IsXWon());
 }