public ReadyPower(int[] map)
        {
            Map = map;

            Senior     = new SeniorC(Map).Comb();
            Para       = new ParaC(Map).Comb();
            TwoPara    = new TwoParaC(Map).Comb();
            Three      = new ThreeC(Map).Comb();
            Street     = new StreetC(Map).Comb();
            Flash      = new FlashC(Map).Comb();
            Full_House = new Full_HouseC(Map).Comb();
            Kare       = new KareC(Map).Comb();
            StrinFlash = new StrinFlashC(Map).Comb();
        }
Beispiel #2
0
        public override int[] Comb()
        {
            int[] three = new ThreeC(mapAll).Comb();

            int[] outMap = new int[0];
            if (three.Length == 3)
            {
                for (int i = 0; i < map.Length - 1; i++)
                {
                    if (map[i] == map[i + 1] && three[0] != map[i])
                    {
                        outMap = new int[5];
                        for (int x = 0; x < 3 - 1; x++)
                        {
                            outMap[x] = three[x];
                        }
                        outMap[3] = mapAll[i];
                        outMap[4] = mapAll[i + 1];
                        return(three);
                    }
                }
            }
            return(three);
        }