Question: has won or had won?
Answer: "Had won" sounds much better when it is the only past perfect in the sentence, but if you have a separate reason for each past perfect, two in the same sentence is fine. In particular, you don't need to say "had won" just to "agree" with "had played".