Ejemplo n.º 1
0
        public static bool IsTied(
            TicTacToeBoard board)
        {
            var locations = TicTacToeBoard.GetAllLocations();

            foreach (var location in locations)
            {
                if (board.IsCellBlank(location))
                {
                    return(false);
                }
            }

            return(true);
        }