ソースを参照

Removed unuzed method

Vsevolod Levitan 4 ヶ月 前
コミット
ffd67dc8f9
1 ファイル変更0 行追加7 行削除
  1. 0 7
      FourInARow/GameBoard.cs

+ 0 - 7
FourInARow/GameBoard.cs

@@ -53,13 +53,6 @@ public class GameBoard : ICloneable
         return true;
     }
 
-    public static Player Opposite(Player player) => player switch
-    {
-        Player.Human => Player.Computer,
-        Player.Computer => Player.Human,
-        _ => Player.None
-    };
-
     public Player? GetWinner()
     {
         if (!cacheInvalidated) return winnerCache;