Beispiel #1
0
            private bool CheckInfinite(PlayerDeck p1, PlayerDeck p2)
            {
                string a = p1.GetCards();
                string b = p2.GetCards();
                string s = a + "|" + b;

                if (playerDecks.Contains(s))
                {
                    return(true);
                }
                playerDecks.Add(s);
                return(false);
            }