瀏覽代碼

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;